AD
Administrator
Syncfusion Team
March 31, 2008 08:22 PM UTC
Hi Carpii,
To turn off range select in the GridControl you need to handle SelectionChanging event check the reason for raising the event by
use of e.Reson property and if the reson is MouseMove cancel the event.Please refer the below code snippet.
void gridControl1_SelectionChanging(object sender, GridSelectionChangingEventArgs e)
{
if (e.Reason==GridSelectionReason.MouseMove)
e.Cancel = true;
}
Please let me know me know if you need further assistance
Best regards,
Johnson
CA
Carpii
March 31, 2008 11:42 PM UTC
Thankyou Johnson, thats very useful.
I had already tried with e.cancel, but I was missing the bit how to detect mouse drag
Carpii