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



InsertRow


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

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. The method InsertRow triggers the OnChangeSetup event.

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



Last Update: 2023-Dec-14