This is a migrated thread and some comments may be shown as answers.

Grid will not tab to next field

2 Answers 613 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jerry
Top achievements
Rank 1
Jerry asked on 08 Mar 2013, 11:17 PM
I have a kendo grid set up for batch mode, GridEditMode.InCell.  After entering data in any field and pressing 'Tab', the 'Delete' key gets focus.  The editing example in the Kendo.Mvc.Examples source exhibits the same behavior.  

The online batch editing example (http://demos.kendoui.com/web/grid/editing.html) tabs to each field correctly.   My view is set up like the online demo.

Is there a setting I'm missing to allow this behavior?


Thanks,

Jerry




2 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 12 Mar 2013, 01:16 PM
Hi Jerry,

 
Basically you should enable the Navigatable option of the grid to achieve the desired behavior.

e.g.:

@(Html.Kendo().Grid<Kendo.Mvc.Examples.Models.ProductViewModel>()   
    .Name("Grid")   
    .Columns(columns => {       
        columns.Bound(p => p.ProductName);
        columns.Bound(p => p.UnitPrice).Width(140);
        columns.Bound(p => p.UnitsInStock).Width(140);
        columns.Bound(p => p.LastSupply).Width(300).Filterable(f => f.UI(GridFilterUIRole.DateTimePicker));
        columns.Command(command => command.Destroy()).Width(110);
    })
    //enables the keyboard navigation
    .Navigatable()
Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Frank
Top achievements
Rank 1
answered on 06 Mar 2017, 03:20 PM
Thanks this was vary helpful 
Tags
Grid
Asked by
Jerry
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Frank
Top achievements
Rank 1
Share this question
or