Removing a row from a GridControl

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.

2 Replies

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


MC Martin Cyr October 21, 2005 06:18 PM UTC

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

Loader.
Up arrow icon