I inherited from UltraWinGrid to customize some settings at runtime. In my test project the grid behaves as expected. In a more complex real project the up and down keys move to the next / previous cell.
For testing purposes I cleared the KeyActionMappings of the grid and set 4 mappings for the up/down/left/right keys and disabled the OnKeyDown / OnKeyPress methods I had before.
If I call PerformAction (UltraGridAction.BelowCell) this results in a move to NextCell as well.
Any ideas would be appreciated
Burkhard
Hi Vinay,
The difference is whether the cell is in edit mode (in which case the arrow keys would work to move the cursor within the cell) or not (in which case the arrows move between cells). I'm pretty sure the sample code works for that, but if I am wrong, all you have to do is check grid.ActiveCell.IsInEditMode and bail out if it's true.