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? User (Old forums)
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)