Hi Greg,
You can disable the row select for grid control along with the following code.
gridControl1.AllowSelection = GridSelectionFlags.Column | ~GridSelectionFlags.Row;
(or) through SelectionChanging event handler you can block some specific rows with the following code.
gridControl1.SelectionChanging += new GridSelectionChangingEventHandler(gridControl1_SelectionChanging);
private void gridControl1_SelectionChanging(object sender, GridSelectionChangingEventArgs e)
{
if (e.Reason == GridSelectionReason.MouseDown)
{
if (e.Range.IsRows)
{
switch (e.Range.Top)
{
case 1:
case 2:
case 3:
e.Cancel = true;
break;
}
}
}
Here is a sample for your refernce.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=Forum350260140.zipPlease let me know if you need any further assistance.
Thanks,
Asarudheen.