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....



InsertColumn


Unit:SDL_datatable
Class:TDataTable
Declaration:procedure InsertColumn (ix: longint);

The method InsertColumn inserts an empty column left to the table column ix. 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. The method InsertColumn triggers the OnChangeSetup event.

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



Last Update: 2012-Oct-20