Hi team,
Is there any way to modify the default tab behavior of XamDataGrid?
Currently, hitting the tab button moves the cursor to the column on the right hand side.
However, my requirement states that rather than moving sideways (right hand side) on hitting the tab key, I need to move the cursor to the next row in the same column.
Once all the cursor reaches the last line of the column, hitting the tab key should move the user to the first row of the next column.
Also the requirement states that hitting the tab key on the last column of the grid should move the cursor to the first row and column of the next grid below it.
Please suggest how this can be achieved.
Hello Manesh,
Thank you for your post.
I have been looking into your requirements and the functionality that you are trying to achieve. I created short sample application based on your scenario to show you how you can implement the behavior that you are looking for. Basically in the sample application I listen for the ExecutingCommand event for both XamDataGrid1 and XamDataGrid2. In the event handlers of ExecutingCommand I canceled the built-in functionality and instead of moving the active cell to the next cell I am trying to set it to move it to the down cell of the same Field and then execute the StartEditoMode command.
For more details about ExecutingCommand event you can take a look at the following link from our online documentation:
http://help.infragistics.com/doc/WPF/2015.1/CLR4.0/?page=InfragisticsWPF4.OutlookBar.v15.1~Infragistics.Windows.OutlookBar.XamOutlookBar~ExecutingCommand_EV.html
Please let me know if you require any further assistance on the matter.
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.
Hi,
The solution you provided was exactly what I was looking for.
Thanks a lot for your time and efforts.
Regards,
Manesh
Thank you for the feedback. I am glad we were able to help.