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

Determine if a Row or Column is selected

How do I determine if an individual Row or Column is selected? Do i have to go thru the Selections collection (and each gridrangeinfo) to find the one I need?

1 Reply

AD Administrator Syncfusion Team August 19, 2004 03:41 PM UTC

Here is code that checks whether some row is selected. You can do something similar with columns as well. GridRangeInfoList selectedRanges = this.gridDataBoundGrid1.Selections.Ranges; GridRangeInfo range = GridRangeInfo.Row(someRowIndex); if(selectedRanges.Contains(range)) { //someRowIndex is selected }

Live Chat Icon For mobile
Up arrow icon