Skip to content

InsertRow - cCJGridDataSource

Inserts an empty row into the datasource array at the passed index position

Type: Procedure

Parameters

Parameter Type Description
iIndex Integer The index (or row) to insert the empty into

Syntax

Procedure InsertRow Integer iIndex

Call Example

Send InsertRow iIndex

Description

Inserts a new empty row at the specified row number, effectively inserting the row before the existing row, if any. RowCount will be updated accordingly. SelectedRow will be cleared (set to -1).

This message is sent by the cCJGrid object's AddRow message.

You will never send this message and will probably never augment it. If you create a custom datasource class, this interface must be supported.