Hello Telerik team,
I have a need in my application to provide basic keyboard navigation while editing cells in a grid and I can't seem to get it to work with the latest version (Q1 2009) of your WPF grid. I have seen many posts on this forum regarding this topic but none of them provide a complete solution and most of them are for previous versions of the grid. If it's possible would you be able to provide a complete example that provides the functionality outlined below. I think an example like this would benefit a lot of people as I believe that this type of functionality should be provided out of the box.
1. If in edit mode, pressing Tab or Shift+Tab should move to the next/previous cell and stay in edit mode
2. If in the last cell of a row, pressing Tab should move to the first cell of the next row and stay in edit mode
3. If in the first cell of a row, pressing Shift+Tab should move to the last cell of the previous row and stay in edit mode
4. Pressing Enter should commit the changes and take you out of edit mode
5. When tabbing between cells, the GridViewDataControl.BeginningEditEvent should still be raised to allow for adding custom editing logic (e.g. populating a cell's combo box editor with a list of values)
6. The solution should work with custom grid editing controls too. (An example being that I have a combo box control that is editable so that users aren't forced to choose a value from the list)
Thanks,
Joel
I have a need in my application to provide basic keyboard navigation while editing cells in a grid and I can't seem to get it to work with the latest version (Q1 2009) of your WPF grid. I have seen many posts on this forum regarding this topic but none of them provide a complete solution and most of them are for previous versions of the grid. If it's possible would you be able to provide a complete example that provides the functionality outlined below. I think an example like this would benefit a lot of people as I believe that this type of functionality should be provided out of the box.
1. If in edit mode, pressing Tab or Shift+Tab should move to the next/previous cell and stay in edit mode
2. If in the last cell of a row, pressing Tab should move to the first cell of the next row and stay in edit mode
3. If in the first cell of a row, pressing Shift+Tab should move to the last cell of the previous row and stay in edit mode
4. Pressing Enter should commit the changes and take you out of edit mode
5. When tabbing between cells, the GridViewDataControl.BeginningEditEvent should still be raised to allow for adding custom editing logic (e.g. populating a cell's combo box editor with a list of values)
6. The solution should work with custom grid editing controls too. (An example being that I have a combo box control that is editable so that users aren't forced to choose a value from the list)
Thanks,
Joel