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

select multi rows in a datagrid

Thread ID:





14803 Jun 4,2004 12:29 PM UTC Jun 23,2004 04:17 AM UTC WinForms 2
Tags: FAQ
Asked On June 4, 2004 12:29 PM UTC

Hello, I want to select multiple rows in my datagrid, in c# I use the fonction datagrid.select(0) to select for example the first row, but I want now select rows 0,5 ans 8 for example I can I do ? Or how can I color them in order to make as if they were selected ? thanks for your responses Reta

Replied On June 9, 2004 05:00 AM UTC

nobody can help me ?

Replied On June 23, 2004 04:17 AM UTC

Try creating selections within the grid like this... this.gridAvailHoldings.Selections.Add(sGrid.GridRangeInfo.Rows(iTop, iBottom));


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