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.
Syncfusion Feedback

Removing a row from a GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

36190 Oct 21,2005 05:30 PM UTC Oct 21,2005 06:18 PM UTC Windows Forms 2
loading
Tags: GridControl
Martin Cyr
Asked On October 21, 2005 05:30 PM UTC

Hi, How do I remove a row from a GridControl (not GDBG). I know I could hide it, but then my rowcount wouldn''t reflect the actual number of items. I could blank the line, but then I would have to move all the following items one row up.

Administrator [Syncfusion]
Replied On October 21, 2005 06:09 PM UTC

I think this should do the trick (where the nRow is the row you want to remove). gridControl1.Rows.RemoveRange(nRow, nRow);

Martin Cyr
Replied On October 21, 2005 06:18 PM UTC

Thanks a bunch, just what I wanted. Also, faster than Clay is impressive ;)

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

;