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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to delete multiple child of single parent in gridgroupingcontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

117538 Nov 5,2014 12:07 PM UTC Nov 7,2014 10:45 AM UTC Windows Forms 1
loading
Tags: GridGroupingControl
Paurnima
Asked On November 5, 2014 12:07 PM UTC

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

Regards,
Paurnima.

Muthukumar Kalyanasundaram [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;