Skip to content

DataSetInsertRowBefore - cWebList

Inserts a new row of data into the list before a specified row

Type: Procedure

Parameters

Parameter Type Description
sRowIdBefore String RowId of the row before which the new row should be inserted
tRow tWebRow A tWebRow struct populated with the new row data

Syntax

Procedure DataSetInsertRowBefore String sRowIdBefore tWebRow tRow

Call Example

Send DataSetInsertRowBefore sRowIdBefore tRow

Description

Send DataSetInsertRowBefore to inserts a new row of data into the list before the row with the provided row id. If the row id is not found the row will be appended to the end of list. The user interface will be updated if needed.

This method is part of the API for manipulating the data of a manually filled list. You should only use this on a manually loaded list, i.e. where pbDataAware = False or peDbGridType = gtManual.

Since this message is implemented as an asynchronous client action. This means that the row is not added to the list until after the current server call is completed.

DeserializeRowId deserializes a RowId string into a RowId type and SerializeRowId serializes a RowId type to a string.