i have a grid where i need to do some action when i press ''enter'' in any cell.I can use CurrentCellKeyPress event.but due to some reason, when i press enter, the foccus goes from the current cell to another cell and the CurrentCellKeyPress event is not fired.
Is there any other event that i can use ??
ADAdministrator Syncfusion Team June 21, 2005 05:25 AM
If you do not want the Enter key to move the currentcell, you can set:
this.gridControl1.EnterKeyBehavior = GridDirectionType.None;
To catch the Enter key being pressed, you can use the grid.CurrentCellControlKeyMessage event.