insertGrid method
Inserts a new TableGrid into the TableSet.
insertGrid(contents [, refGrid] )
Parameters
TableRectangle contents
The contents of this rectangle is copied into the new grid.
TableGrid refGrid
[optional] The TableGrid before which the new one should be inserted. If this is null, the new grid is inserted at the end of the TableSet.
Returns
TableGrid. The TableGrid added to the set.
Throws
TableException
INVALID_PARAMETER_ERR: Raised if the refGrid is not in this set, or if the table model does not allow grids to be added to a set.
这对您有帮助吗?