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.
Unfortunately, activation email could not send to your email. Please try again.

Determine if a Row or Column is selected

Thread ID:





17923 Aug 19,2004 11:10 AM Aug 19,2004 11:41 AM Windows Forms 1
Tags: GridControl
Ted Osberg
Asked On August 19, 2004 11:10 AM

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?

Administrator [Syncfusion]
Replied On August 19, 2004 11:41 AM

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 }


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.