This example demonstrates the keyboard navigation of Telerik Grid for ASP.NET MVC.
Keyboard Shortcuts:
- Tab (standard mode) - Move focus between grid, links and form controls.
- Tab (actionable mode) - Move focus.
- Enter (standard mode) - Edit current row.
- Enter (actionable mode) - Update the contents of current row.
- Spacebar - Selects current row.
- Esc (actionable mode) - Move to standard mode, do not update the contents of the grid.
- Up Arrow - Move focus to grid cell in previous row.
- Down Arrow - Move focus to grid cell in next row.
- Left Arrow - Move focus one grid cell to the left.
- Right Arrow - Move focus one grid cell to the right.
- Page Up - Page to previous grid page.
- Page Down - Page to next grid page.
To enable client operation mode you should use the KeyboardNavigation method:
Html.Telerik().Grid(Model)
.Name("Orders")
.DataBinding(dataBinding => dataBinding
.Ajax()
.Select("Select", "Home")
)
.Pageable()
.Sortable()
.KeyboardNavigation() // enables keyboard navigation