Skip to content

DataSetInsertRowAfter - cWebList

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

Type: Procedure

Parameters

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

Syntax

Procedure DataSetInsertRowAfter String sRowIdAfter tWebRow tRow

Call Example

Send DataSetInsertRowAfter sRowIdAfter tRow

Description

Send DataSetInsertRowAfter to inserts a new row of data into the list after 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.