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

Grid Grouping Contorl Programatically selecting rows

Thread ID:

Created:

Updated:

Platform:

Replies:

68008 Sep 6,2007 09:06 AM UTC Sep 6,2007 02:14 PM UTC Windows Forms 1
loading
Tags: Grouping
Tharindu Pati
Asked On September 6, 2007 09:06 AM UTC

Hi,

Here i am talking about grid grouping control.

I have a problem in selecting rows programatically.

My requirment is, using a timer i want to select rows programaticlly one after the other.

Thanks.
Tharindu

Golda Rebecal [Syncfusion]
Replied On September 6, 2007 02:14 PM UTC

Hi Tharindu,

You can select rows programmatically one after the other by using the following code in timer tick event:

if (i < this.gridGroupingControl1.Table.FilteredRecords.Count)
{
this.gridGroupingControl1.Table.FilteredRecords[i].SetSelected(true);
i++;
}
else
{
i= 0;
this.gridGroupingControl1.Table.SelectedRecords.Clear();
}

Please refer to the attached sample that illustrates the same:
http://websamples.syncfusion.com/samples/Grid.Windows/F68008/main.htm

Kindly let me know if this helps you.

We appreciate your interest in Syncfusion products.

Best regards,
Golda

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

;