DataboundGrid IsSelected Method

Hi, Please, what is equivalent for DataGrid.IsSelected (row selected by user) method for DataBoundGrid Best regards, Jamal-Dine DISSOU

2 Replies

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.


PD Prof DISSOU Jamâl-Dine March 22, 2005 12:38 PM UTC

Thanks Jamal-Dine DISSOU

Loader.
Up arrow icon