Home Forums WinForms controls Xceed Grid for WinForms Add row to the top of the Grid Reply To: Add row to the top of the Grid

Xceed Support
Post count: 5658

It is not possible to insert DataRow’s into a grid other than by using AddNew.

As a workaround to simulate insertion, create an invisible column that contains an index and sort by that column. When AddNew is called, place the desired number in the cell corresponding to the invisible column and the DataRow will appear to be inserted.

Imported from legacy forums. Posted by CharlesB (had 3050 views)