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

Clearing All rows in the GridControl

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

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon