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

delete child table row in gridgrouping control.

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.

1 Reply

VS Venkatesh Sundaram Syncfusion Team 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.


Loader.
Live Chat Icon For mobile
Up arrow icon