GridGroupingControl Multiple Record Delete

Hello,

Deleting multiple selected records doesn't work. Although, deleting a single record works.

1 Reply

BM Bharath M Syncfusion Team March 10, 2010 02:18 AM UTC

Hi Nassim,

Thank you for your interest in Syncfusion products.

We suggest you to use "SelectedRecords[index].Record.Delete()" function to delete all the SelectedRecords. The code snippet explain this is

[CS]

// Use this code in BarButtonItemClicked event with the Delete button condition.
for (int i = GridGroupingControl1.Table.SelectedRecords.Count-1; i > -1; i--)
{
GridGroupingControl1.Table.SelectedRecords[i].Record.Delete();
}


Let me know if you have any concerns.

Regards,
Bharath

Loader.
Up arrow icon