insertColumn
Syntax
<Path>.insertColumn(Column:any) → boolean |
The method insertColumn adds an empty column into the DataTable, designated by <Path>. Plant Simulation shifts all columns with an index equal to or greater than the parameter any one position to the right.
Parameter
The parameter RightOfColumn of data type any designates the column number at which the empty column will be inserted into the DataTable.
Return Value
The return value has the data type boolean.
Example
MyDataTable.insertColumn(8) |
Related Topics
Insert Column on the context menu
Insert Column on the ribbon bar
Related Topics
Methods for Columns of the DataTablecutColumn
getAlignmentColumn (DataTable)
getBackgroundColorColumn (DataTable)
getColumnNo
getColumnWidth (DataTable)
getColumnYDim
getDataType
getEditorRightsColumn (DataTable)
getFontColorColumn (DataTable)
getFontSizeColumn (DataTable)
getFormatString (DataTable)
getVisibility (DataTable)
isAlignmentColumn (DataTable)
setAlignmentColumn (DataTable)
setBackgroundColorColumn (DataTable)
setColumnWidth (DataTable)
setCommonFormat
setDataType
setDataTypeDefault
setEditorRightsColumn (DataTable)
setFontColorColumn (DataTable)
setFontSizeColumn (DataTable)
setFormatString (DataTable)
setVisibility (DataTable)