The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TDataTable
Declaration: property NrOfColumns: longint;

The property NrOfColumns specifies the number of columns of the data table. Changing the number of columns triggers the OnResize event.

Hint 1: 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.

Hint 2: In the Light Edition the number of cells is restricted to 2000 (NrOfColumns times NrOfRows).

Example: This property is used in the following example program (see for downloading the code): simplepca

Last Update: 2019-Dec-23