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 multiple rows from GridGroupingControlGrid.

i am Using grid GridGroupingControlGrid. Need to delete multiple rows from grid. and is there any specfic method for same operation in in Child Grid .....

1 Reply

AD Administrator Syncfusion Team November 16, 2005 11:55 AM UTC

Here is code that will remove selected records from a particular child table in a button handler.
private void button1_Click(object sender, System.EventArgs e)
{
	//delete any selection in the child table
	SelectedRecordsCollection records = this.gridGroupingControl1.GetTable("ChildTable").SelectedRecords;
	if(records.Count > 0)
	{
		foreach(SelectedRecord r in records)
			r.Record.Delete();
	}
}
Here is a link to a sample using this code. http://www.syncfusion.com/Support/user/uploads/GGC_Nested_80aeba9c.zip

Loader.
Live Chat Icon For mobile
Up arrow icon