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.
Syncfusion Feedback

Determine if a Row or Column is selected

Thread ID:

Created:

Updated:

Platform:

Replies:

17923 Aug 19,2004 03:10 PM UTC Aug 19,2004 03:41 PM UTC Windows Forms 1
loading
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 }

CONFIRMATION

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.

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

;