Home Forums WinForms controls Xceed Grid for WinForms I’m using AddNew(), but it seems to only place the new DataRow at the end of the grid. I need the ability to insert a new DataRow between two existing DataRows. Is it possible?

Viewing 1 post (of 1 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #17779 |

    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 Xceed admin (had 792 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.