DataSetInsertRowBefore - cWebList

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

Type: Procedure

Parameters: String sRowIdBefore tWebRow tRow

sRowIdBeforeRowId of the row before which the new row should be inserted
tRowA tWebRow struct populated with the new row data

Procedure DataSetInsertRowBefore String sRowIdBefore tWebRow tRow

Call: Send DataSetInsertRowBefore sRowIdBefore tRow


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.

See Also

DataSetAppendRow | DataSetRemoveRow | DataSetUpdateRow