After changing value in cell and pressing enter cursor jumps down to next cell. Is it possible to avoid this behavior? I want to make cursor stay at same cell after edition accomplishment. I use CellEndEdit to perform some action with value in cell.
Thanks!
After changing value in cell and pressing enter cursor jumps down to next cell.
Share
After all I solved my problem in following lame way.
1. Add global boolean flag to detect if I need to jump up after edit and set it to
false.2. In
CellEndEditevent handler set flag totrue.3. In
SelectionChangedevent handler check flag. If it set totruethen jump up and set flag tofalse.4. Set
AllowUserToAddRowstofalseto avoid adding row in case of last row cell edition.