We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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.
Live Chat Icon For mobile
Up arrow icon