row(index, [new_order], [row])
Class: Table.
Description:
Gets or updates an existing row at a specified index.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
number |
Index of the row. |
|
|
|
boolean |
false |
Specifies if the |
|
|
Array.<(string|number|boolean)> |
array - A new row that will replace an existing row at specified index. |
Returns:
When retrieving a row an Array is returned. When updating updating a row an instance of this Table is returned.
Type: Array.<(string|number|boolean)> | Table
Examples:
// To update values of an existing row at index 5
table.row(5, false, ["Jane Dow", 40, false, "Charlotte, NC", "[View|Remove]"]);
