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

How to delete multiple child of single parent in gridgroupingcontrol

Hi,
I am using grid grouping control
I want to delete multiple childs of single parent
Is any solution regarding to this?

Regards,
Paurnima.

1 Reply

MK Muthukumar Kalyanasundaram Syncfusion Team November 7, 2014 10:45 AM UTC

Hi Paurnima,

 

Thank you for your interest in Syncfusion products.

 

If you want to remove the multiple selected child record from parent table in a grid, you can use the “DeleteAll()”method. Please refer the below code,

 

Code:

 

private void btnDeselectAll_Click(object sender, EventArgs e)

  {

    foreach (Table tbl in this.gridGroupingControl1.Table.RelatedTables)

    tbl.SelectedRecords.DeleteAll();

  }

 

Please let us know if you have any concern.

 

Regards,

Muthukumar K


Attachment: Record_Range_Selection_Demo_1a39e28d.zip

Loader.
Live Chat Icon For mobile
Up arrow icon