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

Removing a row from a GridControl

Thread ID:





36190 Oct 21,2005 05:30 PM UTC Oct 21,2005 06:18 PM UTC WinForms 2
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 ;)


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

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