InsertColumn

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

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