Shift + Tab

Hi,

I like to have shift+tab can be move to previous cell, how can I do it?

Thanks



1 Reply

HA haneefm Syncfusion Team November 22, 2007 03:25 PM UTC

Hi Lim,

Here is some code snippet to handle this in grid's CurrentCellKeyDown.

void gridControl1_CurrentCellKeyDown(object sender, KeyEventArgs e)
{
if (e.Modifiers == Keys.Shift && e.KeyCode == Keys.Tab)
{
GridControl ShiftTabKeyGrid = sender as GridControl;
ShiftTabKeyGrid.CurrentCell.MoveLeft();
e.Handled = true;
}
}

Best regards,
Haneef


Loader.
Up arrow icon