Good morning Vignesh ,
thank you for your prompt reply, which works ok.
I am trying to use the grid to insert new, edit and delete records by using the keyboard as much as possible. So to answer the following will be a great help and very important.
Please note that I am using NewRowPosition="NewRowPosition.Bottom" setting so that by pressing the Insert key a new record will be inserted at the end of the grid.
I would like to further ask how to
1. How to set focus to the selected row from code in order to use F2 to start editing or call Grid.StartEdit() on that row
2. How to get the Current Row index at any moment (it seems that the row index is changed behind the scenes to the first row index 0)
3 Presing the insert key a new record will be inserted at the end of the grid and when done the same row must be selected and be ready for editing or deleting by the use of the keystrokes or the use of arrowup or arrowdown keys
4. By pressing F2 on a selected row the row starts editing. When done the same row must be selected and be ready to accept keys again, like the ArrowUp or ArrowDown to move to another row.
5. when A new row is inserted and Esc key is pressed to cancel then the last row in the grid must be selected and ready to be used by the keyboard
6. When Editing a row and Esc key is pressed the the row in editing must become selected and ready to be used by the keyboard
7. If the grid is empty, then when focus is moved to the grid by mouse click or by Grid.FocusAsync() then how to kick the insert a new record procedure.
In the hope that I am not asking you too much
Thank you in advance
Panikos Frangoudes