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

Determine if a Row or Column is selected

Thread ID:





17923 Aug 19,2004 03:10 PM UTC Aug 19,2004 03:41 PM UTC WinForms 1
Tags: GridControl
Ted Osberg
Asked On August 19, 2004 03:10 PM UTC

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 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 }


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon