insertRow
Syntax
<Path>.insertRow(Above:any) → boolean |
The method insertRow adds an Empty row above a row of the DataTable designated by <Path>.
Note:
You can use this method to insert a row into an existing table, where you would like to move the existing cells down one position!
Parameter
The parameter Above of data type any designates the row number that contains data. Plant Simulation moves all rows with an index equal to or greater than any down one position.
Return Value
The return value has the data type boolean.
Example
MyDataTable.insertRow(8) |
Related Topics
Insert Row on the Edit ribbon tab
Related Topics
Methods for Rows of the DataTableappendRow
cutRow (DataTable)
getAlignmentRow (DataTable)
getBackgroundColorRow (DataTable)
getEditorRightsRow (DataTable)
getFontColorRow (DataTable)
getFontSizeRow (DataTable)
getFormula
getRowNo
isAlignmentRow (DataTable)
setAlignmentRow (DataTable)
setBackgroundColorRow (DataTable)
setEditorRightsRow (DataTable)
setFontColorRow (DataTable)
setFontSizeRow (DataTable)
setFormula