HA
haneefm
Syncfusion Team
May 25, 2007 08:56 PM UTC
Hi Vik,
This is an expected behavior. But you can get the Tab key to behave like the Down key is to override the grid’s OnKeyDown, and change the Tab key to an Down key before calling the baseclass. Below is a code snippet.
public class MyGridControl: GridControl
{
protected override void OnKeyDown(KeyEventArgs e)
{
if( e.KeyCode == Keys.Tab && e.Modifiers == Keys.None)
e = new KeyEventArgs(Keys.Down);
base.OnKeyDown (e);
}
}
Best regards,
Haneef