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.
Unfortunately, activation email could not send to your email. Please try again.

Clearing All rows in the GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

32261 Jul 26,2005 06:12 AM Jul 26,2005 06:22 AM Windows Forms 1
loading
Tags: GridControl
Rajesh Gohil
Asked On July 26, 2005 06:12 AM

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

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

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.

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.

;