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 All rows in the GridControl

Thread ID:





32261 Jul 26,2005 10:12 AM UTC Jul 26,2005 10:22 AM UTC WinForms 1
Tags: GridControl
Rajesh Gohil
Asked On July 26, 2005 10:12 AM UTC

Hello: How can I clear all the rows in a gridcontrol? Raj.

Administrator [Syncfusion]
Replied On July 26, 2005 10:22 AM UTC

If you want to remove all rows, you can set grid.RowCount = 0. If you want to clear the contents but leave the rows, then you can use grid.ClearCells, passing in GridRangeInfo.Table() for the range.


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

This page will automatically be redirected to the 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