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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

delete child table row in gridgrouping control.

Thread ID:

Created:

Updated:

Platform:

Replies:

120200 Sep 10,2015 08:59 AM UTC Sep 11,2015 10:00 AM UTC WinForms 1
loading
Tags: GridGroupingControl
pravin
Asked On September 10, 2015 08:59 AM UTC

Hi,
I am using gridgrouping control.I use master-child relationship in gridgrouping control.
I want to delete  selected row from child table .
Is any method for this?
Please give me any solution regarding to this issue.

Venkatesh Sundaram [Syncfusion]
Replied On September 11, 2015 10:00 AM UTC

Hi Pravin,

Thanks for your interest in Syncfusion Product.

To delete the selected row from the child table, use the GetTable() method in the childtable. Please refer to the below code example and sample.

Syncfusion.Grouping.SelectedRecordsCollection selRecords = null;

//Used to get the child table

Table table = this.gridGroupingControl1.GetTable("Child Table Name");

selRecords = table.SelectedRecords;

foreach (Syncfusion.Grouping.SelectedRecord record in selRecords)

{

//Used to delete the selected records.

record.Record.Delete();

}



Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/143545/ze/Delete_row-1633648253

Regards,
Venkat.


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

;