Inserts a new row at given row index in the datatable.

Syntax

Smartsite SXML CopyCode image Copy Code
datatable.rows.insertat(datatable dataTable, integer rowNumber, any[ ] values)

Parameters

Name Data Type Description
dataTable DataTable The datatable to which the row is added.
rowNumber Integer The row index where the new row is added.
values Any[ ] The values that are added as a single row.

Return Value

None.

Expand image Example

SXML