When the user presses ENTER to accept current new row, I want to immediately start the process of adding a new row. Basically, the AddRow remains active after pressing the ENTER key.
I can't seem to find a property or the appropriate event where to reactivate the TemplateAddRow, and put it in edit mode.
I'm using UltraGrid 9.2
Hi,
What setting are you using for the AllowAddNew property?
I'm using FixedRowOnTop.
By the way, when the user moves away focus from the AddRow, it should proceed as is. Only when the user presses the ENTER key is when I want it to go to add mode immediately.
I found the offending code. However, is there a way to tell the grid to go to the first EDITABLE cell and not just first cell?
I would think the grid would do this automatically. It might depend on how and why the cell is not editable.
How are you making the cells read-only? If you are using Activation or CellActivation, then which Activation setting are you using?
If the cell is disabled, it should certainly skip that one.
If it's just NoEdit or ActivateOnly, then you might also need to set TabStop on the column to false.
If none of that works, let me know, and I will see if I can find a way to code it.
The first cell is NoEdit. I found a workaround by catching the Enter Keyup event and calling the PerformAction and passing NextCellbyTab with only the editable fields set to have TabStop.