Hi,
I set IsOnCellActiveEditingEnabled="True" to make sure that when I fill in data in a XamWebGrid and use the Tab key to navigate to other cells, that the selected active cell is automatically in edit mode. (as illustrated below)
However, another requirement for my grid is that is must be enabled to select multiple cells using shift key, ctrl key or just using the mousebutton. It is logical (I guess) to set IsOnCellActiveEditingEnabled="False" to enable this (as Illustrated below). If I leave the setting to "True", the first cell is in edit mode and I can't select other cells without leaving edit mode.
Is there a possibility to combine the "True"/"False" flag and what would be the best way/events to achieve such functionality ?
Thanks,
Nicolas
If I change the AllowEditing mode to Row I get the following behaviour:
When hitting Enter, the row doesn't leave edit mode and the cells in the row get a border around each value. (see screenhots before and after hitting enter)
Hi Nicolas,
If you're trying to keep the tab functionality for rows only, then perhaps you can just set the AllowEditing property to Row as opposed to Cell. Then, tab will work for editing on that row, and you won't need to have the IsOnCellActiveEditingEnabled property turned on.
However, if you're on the last cell in a row and you hit tab, then the row will exit edit mode, and the first cell in the next row won't enter edit mode.
-SteveZ