HA
haneefm
Syncfusion Team
March 28, 2007 07:08 PM UTC
Hi Todd,
One way you can do this by handling the Model.Selectionchanging event of the grid and set e.Cancel to true for keeping the selection in a grid. Here is a code snippet.
this.grid.Model.SelectionChanging += new GridSelectionChangingEventHandler(Model_SelectionChanging);
void Model_SelectionChanging(object sender, GridSelectionChangingEventArgs e)
{
e.Cancel = !this.grid.Focused;
}
Best regards,
Haneef