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. Image for the cookie policy date
close icon

How to enum selected row(s) in GridGroupingControl

Hi,

I need to handle the record(s) user selected, it is may a single row, a multiple rows or separate ranges. Could someone help for enumerating the selected records one by one. thanks in advance!


2 Replies

FR frank March 21, 2011 07:33 AM UTC

P.S. My Syncfusion version is 7.4



NR Nirmal Raja Syncfusion Team March 23, 2011 11:00 AM UTC

Hi Frank,

Thank you for your interest in Syncfusion products.

You can make use of the SelectedRecords collection to retrieve the information of the record.

Please refer the code below:
Syncfusion.Grouping.SelectedRecordsCollection selRecords;
selRecords = this.gridGroupingControl1.Table.SelectedRecords;
foreach (Syncfusion.Grouping.SelectedRecord record in selRecords)
{
Console.WriteLine(record.Record.Info);
}


Let me know if you have any concern.

Regards,
Nirmal


Loader.
Live Chat Icon For mobile
Up arrow icon