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

Grid control Clering Cell text

Thread ID:





73746 May 16,2008 11:31 AM UTC May 22,2008 07:16 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On May 16, 2008 11:31 AM UTC


I am using GRid Controls what is procedure To clean all the text From GridControl's cells.I tried GridControl1.clear(true);

Pankaj Sardana

Administrator [Syncfusion]
Replied On May 22, 2008 07:16 AM UTC

Hi Pankaj,

Thanks for the interest in Syncfusion Grid.

GridControl1.clear() is used to clear the contents of the selected cells. You can use ClearCells to Clear the cells of the Grid. Please refer the following code snippet that shows how we can clear the cells of the Grid.

private void button1_Click(object sender, EventArgs e)
this.gridControl1.Model.ClearCells(GridRangeInfo.Table(), true);

Please refer the sample in the below link that illustrates the above.


Please let me know if you have any questions.



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