Hi Kai,
Here is the answer for your query
* Before iterate through the collection of SelectedRecords(i.e when GridGroupingControls SelectionMode set as other than "One" or "None") you should get the SelectedRecords manullay in CurrentRecordContextChange event. For reference please have a look at our attached sample.
//Creates the Selected record entry
SelectedRecord selectedrecord = new SelectedRecord(r);
* Then Add the collections of SelectedRecord to SelectedRecordCollection in Button_Click event and iterate through the SelectedRecord collection.For reference please have a look at our attached sample.
//Add the SelectedRecords to SelectedRecordCollection
this.GridGroupingControl1.Table.SelectedRecords.Add(selectedrecord);
Forums_54194.zipLet us know if this helps.
Thanks for using Syncfusion products.
Regards,
Gokulkumar.B