HA
haneefm
Syncfusion Team
July 17, 2007 11:24 PM UTC
Hi,
Is there an easy way to get the selected records while using a filterbar in the gridGroupingControl.
>>>>>>>>>>>>>>>>>
Yes, you can get the selected records collection from the GridTable property. Below is a code.
foreach(SelectedRecord rec in this.grid.TableModel.Table.SelectedRecords)
{
Console.WriteLine(rec.Record);
}
Is there a way to access the filtered collection or have this return the unfiltered indexes?
>>>>>>>>>>>>>>>>>
You can try these code:
foreach(Record rec in this.grid.TableModel.Table.FilteredRecords)
{
Console.WriteLine(rec);
}
Best regards,
Haneef