NrOfColumns

Declaration: TDataTable.NrOfColumns: integer;
The property NrOfColumns specifies the number of columns of the data table.

Hint: Increasing the number of columns preserves all information in the table, while decreasing its number of columns destroys the information contained in the removed (rightmost) columns.