RadGrid Batch Edit - Prevent navigating to next row

2 posts, 0 answers
  1. Tim
    Tim avatar
    1 posts
    Member since:
    Feb 2015

    Posted 25 Feb 2016 Link to this post

    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.

  2. Kostadin
    Kostadin avatar
    1733 posts

    Posted 01 Mar 2016 Link to this post

    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.

    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
Back to Top