InsertRow

Declaration: TDataTable.InsertRow (ix: integer);
The method InsertRow inserts an empty row before the row ix of the table. The size of the table is increased by one row. The parameter ix may take values between 1 and NrOfRows+1. If ix is set to a value beyond the valid range, the call to InsertRow is ignored.

Hint: In order to append an empty row, you have to set ix to NrOfRows+1.