RC
Rajadurai C
Syncfusion Team
November 14, 2008 01:09 PM UTC
Hi Geoff,
Thanks for your interest in Syncfusion products.
You can prevent the first row from being selected while setting the ListBoxSettingMode property to MultiExtended by including the following code in Form_Load event handler.
this.gridDataBoundGrid1.Selections.Ranges.Remove(GridRangeInfo.Row(1));
To remove the currentrow triangle indicator set the celltype of rowheader as header in PrepareViewStyleInfo event handler.
void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
if (e.RowIndex > 0 && e.ColIndex == 0)
e.Style.CellType = GridCellTypeName.Header;
}
Regards,
Rajadurai