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

It should navigate the cell

1 Answer 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Krish
Top achievements
Rank 1
Krish asked on 11 Dec 2018, 12:53 PM
When I click the tab on the last cell while it is in edit on the grid view, it should not navigate anywhere instead it should stay on the same cell (last cell) for editing.
Currently, when I click on the Tab button it moves to the next control or moves to the next row in the gridlines.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Dec 2018, 12:28 PM
Hello, Krish,     

By default, when you press the Tab key, the grid navigates to the next cell. Hence, if you are editing the last cell at a certain row, it will navigate t the first cell on the next row. This is desired behavior. Note that RadGridView manages user mouse and keyboard input over its rows by GridRowBehavior. Depending on the row type, RadGridView introduces different behaviors. 

You can control what to be the behavior when you press the Tab key by creating a custom GridDataRowBehavior and overriding its ProcessTabKey method. You can refer to the following help article which demonstrates how to register a custom row behavior: https://docs.telerik.com/devtools/winforms/controls/gridview/rows/row-behaviors

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Krish
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or