AD
Administrator
Syncfusion Team
March 21, 2005 05:48 PM UTC
If you have ListBoxSelectionMode set, you can use code like this to see if a rowIndex is selected.
bool isSelected = this.gridDataBoundGrid1.Selections.GetSelectedRows(true, false).AnyRangeContains(GridRangeInfo.Row(rowIndex));
In general, you check the grid.Selections.Ranges collection for handling selections.