I have a grid where only a couple of the cells are editable. When I press ENTER in these cells the grid automatically moves focus/currentcell to the next editable cell in the row. Is there any way I can turn off this behaviour or even better, catch the 'move' event and move focus to a celll of my choice?
ADAdministrator Syncfusion Team August 18, 2003 01:33 AM
There is both a property and an event. The property is EnterKeyBehavior. Here is a setting that turns off any action by the enter key.
this.gridControl1.EnterKeyBehavior = GridDirectionType.None;
The event is QueryNextCurrentCellPosition. Here is code that will move you to 1,1 anytime you try to tab into cell 3,3.