I have an unbound grid with the ActivateCurrentCellBehavior property set to SelectAll, so that the whole content of the cell is selected when the user moves to it.
I have also set the Model.Options.EnterKeyBehavior property so that the user can navigate among the cells by pressing the enter key.
I''d like the user to be able to user the arrow keys to move the cursor inside the current cell, but instead they move the focus to another cell.
Is there a way to alter this behaviour?
ADAdministrator Syncfusion Team May 7, 2004 08:58 PM UTC
Normally, in a TextBox cell, if you have a blinking edit cursor in the middle of the text, the arrow keys will move to the edge of text before moving to the next cell. But if the whole text is selected, it just moves to the next cell. There is no property setting that will change this behavior and still let all the text be selected.
To get the cell control to use the arrow keys, try handling the CurrentCellControlKeyMessage event.
I am using version 1.6.x.
Does this version support the event you suggested?
I am unable to find it in the documentation.
If not, can you please suggest a different workaround that works with v1.6?
ADAdministrator Syncfusion Team May 10, 2004 04:52 AM UTC
It should be in 220.127.116.11.
It may not show up in designer Events list in C#, or in the events dropdown in VB, but you should be able to manually add a handler with += in C# or AddHandler in VB.