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.

delete multiple rows from GridGroupingControlGrid.

Thread ID:

Created:

Updated:

Platform:

Replies:

37134 Nov 16,2005 06:37 AM Nov 16,2005 06:55 AM Windows Forms 1
loading
Tags: GridControl
vihar
Asked On November 16, 2005 06:37 AM

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 .....

Administrator [Syncfusion]
Replied On November 16, 2005 06:55 AM

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

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.

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.

;