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

select multi rows in a datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

14803 Jun 4,2004 12:29 PM UTC Jun 23,2004 04:17 AM UTC Windows Forms 2
loading
Tags: FAQ
Reta
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

Reta
Replied On June 9, 2004 05:00 AM UTC

nobody can help me ?

marcel
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));

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

;