Hello,
Our users prefer a keyboard interface, so I have a few questions. Please consider a XAML solution before code-behind:
1. When navigating from an adjacent control to XamDataGrid, it seems that a cell must be active before I can tab into it and edit data. How could I make the first cell in the add row active by default?
2. What is a good way to tab from the end of add row to the next add row?
3. When an entire row has the focus, say after the row is selected, is there a way to use the keyboard to activate a cell within the active row? If not, is there a code solution for this?
4. Why is it that sometimes when I tab into a XamComboEditor is goes into edit mode, and other times I must press F2 for edit mode?
Thanks very much.
Hello Darryl,
Thank you for the feedback. I am glad I was able to help. Please do not hesitate to let me know if you have any further questions on this matter.
XamDataGrid_InitializeTemplateAddRecord is an acceptable event to activate the add row even if the model collection is empty.
I've tried both Loaded and Initialize, but the RecordManager.CurrentAddRecord is null in both cases.
I have been looking into your post!
If the collection, that you bind to the xamDataGrd is empty I can suggest to use the Loaded event of the XamDataGrid.
Please do not hesitate to let me know if you have any further questions on this matter.
Thank you Gergana. SelectedItemsChanged works fine, but InitializeRecord doesn't work if the collection is empty.