addColumnDefinition method
For Panel.Table|Table Panels: Sets the column RowColumnDefinition given by the index. If the column definition does not exist on the Panel, this will create it. If it already exists on the Panel, this will copy the properties of the given RowColumnDefinition options onto that definition.
This is a convenience method for #addRowColumnDefinition. Instead of writing:
.addRowColumnDefinition(new go.RowColumnDefinition({ column: 2, width: 60 }))
You can write:
.addColumnDefinition(2, { width: 60 })
@since 2.3 @param {RowColumnDefinition} colIndex the non-negative zero-based integer column index. @param {Partial
Implementation
_i3.Panel addColumnDefinition(
_i2.num colIndex,
_i2.dynamic options,
) =>
_i4.callMethod(
this,
'addColumnDefinition',
[
colIndex,
options,
],
);