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

RadGrid Batch Edit - Prevent navigating to next row

1 Answer 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 25 Feb 2016, 06:04 PM

I am using a RadGrid with batch edit mode. I want to have keyboard navigation turned on so that a user can tab through the columns in the current row. When this is turned on the default behavior is that when a user hits tab on the last control of a row, when there are additional rows in the grid, the user is navigated to the next row. What I want to prevent is the navigation to the next row when the last control in the edited row is currently being edited and the user presses tab. Is this possible? Is it possible to save that row edit if tab is pressed on that last control?

 

Thank you for your time.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 01 Mar 2016, 09:57 AM
Hi Tim,

Generally you can hook OnKeyPress to the last column cells and prevent the key press if the key is Tab. In case you need to save the changes you can call saveTableChanges and pass the tableview or call saveAllChanges. Please check out the following help article for more information.

Regards,
Kostadin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or