RadDataGrid Inline Edit Tab Between Rows

1 Answer 26 Views
DataGrid
Peter
Top achievements
Rank 1
Peter asked on 14 Jul 2021, 03:36 PM

Is it possible to allow the user to tab to the next row when editing data?

At present tab only allows them to move to columns within the row, ideally they want to tab to the next editable column on the next row and so on, is that possible?

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 14 Jul 2021, 04:05 PM

Hi Peter,

The short answer is; no. This is not currently possible because there is no batch edit style mode that allows more than one row at a time to be in edit mode. Thus, you cannot tab into the next data item's property editors when the current data item is in the middle of an inline edit operation.

Custom Development Approach

You technically could programmatically listen to all the tab keypress events and then make a decision on whether user is leaving the last column. If true, then commit the changes to that row and programmatically put the next row in edit mode using the built-in edit commands. You can find the three commands for programmatic editing here UWP DataGrid Documentation | Edit Operation

We do not have any examples of such a custom implementation as most of the logic is not directly related to the DataGrid (e.g. the keypress listeners, data item determination, etc).

Regards,
Lance | Manager Technical Support
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
DataGrid
Asked by
Peter
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or