Add new rows to current table
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
data |
rowObjectArray
|
<optional> |
data to add to current table |
|
appEnv |
appEnv
|
appEnv |
||
(boolean |
) | save Save the table(defaultis true) |
- status object
promise
Example
To add new rows to the working table.
let data = [{x1:1, x2: 30}, {x1:10, x2:50}];
await addRows(data, appEnv);
The columns must match the columns in the working table.