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.

DataboundGrid IsSelected Method

Thread ID:





26326 Mar 21,2005 08:22 AM Mar 22,2005 07:38 AM Windows Forms 2
Tags: GridControl
Prof DISSOU Jamâl-Dine
Asked On March 21, 2005 08:22 AM

Hi, Please, what is equivalent for DataGrid.IsSelected (row selected by user) method for DataBoundGrid Best regards, Jamal-Dine DISSOU

Administrator [Syncfusion]
Replied On March 21, 2005 12:48 PM

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.

Prof DISSOU Jamâl-Dine
Replied On March 22, 2005 07:38 AM

Thanks Jamal-Dine DISSOU


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.