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

Clearing records from a grid

Thread ID:





53592 Dec 15,2006 09:32 PM UTC Dec 18,2006 07:06 AM UTC WinForms 1
Tags: Grouping
Administrator [Syncfusion]
Asked On December 15, 2006 09:32 PM UTC

Is there any calls within the grid that can be made to clear all the records, and their associated values in the dataset? Can this be done without accessing the dataset directly through the grid's DataSource property?

Administrator [Syncfusion]
Replied On December 18, 2006 07:06 AM UTC

Hi Paul,

This can be achieved by iterating through the records and deleting them, please refer to the following code snippet for more details.

foreach(Record r in this.gridGroupingControl1.Table.Records)

Kindly let us know if you need any further assistance.
Have a nice day.

Best regards,


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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