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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #15741 |

    How do I add a new row at the top of the grid? Thus, all new rows will appear at the top, and the first row to be added will be at the bottom?

    Thanks,

    John

    Imported from legacy forums. Posted by John (had 1877 views)

    Xceed Support
    Member
    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)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.