It should navigate the cell

2 posts, 0 answers
  1. Krish
    Krish avatar
    16 posts
    Member since:
    Oct 2018

    Posted 11 Dec 2018 Link to this post

    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.
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3759 posts

    Posted 12 Dec 2018 Link to this post

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