|
insertRows(contents [, refRow] )
|
|
|
Parameters
|
TableRectangle contents
The contents of this rectangle is copied into the new rows. This rectangle must be as wide as the grid. Its height determines the number of rows inserted.
TableRow refRow
[optional] The row before which the new rows are to be inserted. If null the new rows are inserted as the last rows in the grid.
|
|
Returns
|
void
|
|
Throws
|
TableException
INVALID_PARAMETER_ERR: Raised if the refRow is not in this grid or if the table model doesn't allow rows to be inserted.
|