Hi Wang,
Thank you for your update.
Yes, whenever you click on the any cell, the selection will
be drawn immediately to set the current cell because without setting current cell prior to
the Click event, you cannot access the
current cell in the CellClick event of the GridControl. This is our default behavior.
Suppose, if you are interested to cancel the selection changes
means, then you can achieve this by handling the SelectionChanging event of the
GridControl.Model like shown below.
this.grid.Model.SelectionChanging += new GridSelectionChangingEventHandler(Model_SelectionChanging);
void Model_SelectionChanging(object sender, GridSelectionChangingEventArgs e)
{
e.Cancel = true;
}
Please let us know if you have any queries.
Thanks,
Rajasekar