addRow(row, [index])
Class: Table.
Description:
Adds a new row at the end of table or at a specified index.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Array.<(string|number|boolean)> |
An array of cell values of the row according to each column. Missing cells will be filled with empty data. |
|
|
number |
Index at which to insert the row (original indexing, sorting is ignored). |
Returns:
Returns an instance of this Table for method chaining.
Type: Table
Examples:
table.addRow(["John Dow", 45, true, "Charlotte, NC", "[View|Remove]"]);
