Grid Grouping Contorl Programatically selecting rows

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

1 Reply

GR Golda Rebecal Syncfusion Team 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

Loader.
Up arrow icon