Currently, there is no property setting to handle this in a GridGroupingControl. You can get this behavior by handling these 2 event:
TableControlCurrentCellControlKeyMessage += new GridTableControlCurrentCellControlKeyMessageEventHandler(gridGroupingControl1_TableControlCurrentCellControlKeyMessage);
this.gridGroupingControl1.TableControlCurrentCellKeyDown
The handlers.
private void gridGroupingControl1_TableControlCurrentCellControlKeyMessage(object sender, GridTableControlCurrentCellControlKeyMessageEventArgs e)
{
Keys keyCode = (Keys) ((int)e.Inner.Msg.WParam) & Keys.KeyCode;
if(keyCode == Keys.Enter && e.Inner.Msg.Msg == 0x100 //WM_KEYDOWN
)
{
e.TableControl.CurrentCell.MoveRight();
e.Inner.Handled = true;
e.Inner.Result = true;
}
}
private void gridGroupingControl1_TableControlCurrentCellKeyDown(object sender, GridTableControlKeyEventArgs e)
{
if(e.Inner.KeyCode == Keys.Enter// && e.Inner.Msg.Msg == 0x100 //WM_KEYDOWN
)
{
e.TableControl.CurrentCell.MoveRight();
e.Inner.Handled = true;
}
}