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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I select(highlight) multiple rows programmatically?

Thread ID:





42755 Apr 5,2006 01:45 PM UTC Apr 6,2006 07:43 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On April 5, 2006 01:45 PM UTC

Hi, I would like to know how to programmatically select multiple rows in a syncfusion data grid. i.e I know the rows I want to highlight through some external source. I need the grid now to reflect the same. [The selection type is - multiple rows. Can have multiple ranges]. I tried setting using the datagrid.Model.SelectedItems.AddRanges(), .Add()... methods. They need GridRangeInfo objects. [Dint know how all the properties that need to be set on that object. Dint even know if this is the right approach. Hence ths post] Could you please help me resolve this issue? A test app will be helpful. Thanks a lot!

Administrator [Syncfusion]
Replied On April 6, 2006 07:43 AM UTC

Hi, You can get more details on this topic in our Evaluation Center. Refer to ''GridControl Selections'' topic and follow the same approach for datagrid. Visit Evaluation Center To have more details on GridStyleInfo class refer to our documentation ( Essential Studio/Essential Grid/Windows Forms/Basic Concepts/Basic Insight Into Cell Style ) in our product. Visit OnLineDocumentation Sample : How to synchronize the selection of multiple grids? Thanks for the patience. Best regards, Madhan


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