You need to call EndEdit on the row, so it is actually added it to the DataRows collection :
<i>
Dim row as Xceed.Grid.DataRow = Grid.DataRows.AddNew()
row.EndEdit()
</i>
You can of course set the row before calling EndEdit().
e.g.
<i>
Dim row as Xceed.Grid.DataRow = Grid.DataRows.AddNew()
For Each cell In row.Cells
cell.Value = “some value”
Next
row.EndEdit()
</i>
Imported from legacy forums. Posted by André (had 2906 views)