Home Forums WinForms controls Xceed Grid for WinForms adding InsertionRow at run-time Reply To: adding InsertionRow at run-time

Xceed Support
Member
Post count: 5658

Hi Hooper,

All rows (with the exception of DataRows) must be contained in either the FixedHeaderRows, FixedFooterRows, HeaderRows or FooterRows sections. Only DataRows can be contained within the grid body.

To add a row to the sections mentionned above, you can use the following codeL

GridControl1.HeaderRows.Add( New InsertionRow() )

I hope this helps!

Imported from legacy forums. Posted by Jenny [Xceed] (had 3540 views)