insertColumns(contents [, refColumn] )
|
|
Parameters
|
TableRectanglecontents
The contents of this rectangle is copied into the new columns. This rectangle must be as high as the grid. Its width determines the number of columns inserted.
TableColumnrefColumn
[optional] The column before which the new columns are to be inserted. If null the new columns are inserted as the last columns in the grid.
|
Returns
|
void
|
Throws
|
TableException
INVALID_PARAMETER_ERR: Raised if the refColumn is not in this grid or if the table model doesn't allow a column to be inserted.
|