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:

Created:

Updated:

Platform:

Replies:

32261 Jul 26,2005 10:12 AM UTC Jul 26,2005 10:22 AM UTC WinForms 1
loading
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.

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.

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

;