Methods
create(data2d, calculatePropsopt) → {Grid}
Create a new grid
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
data2d |
Array.<Array> |
A 2d array, can use what is returned from |
|
calculateProps |
Object |
<optional> |
An object where each key is a callback, taking one parameter |
- Source:
Example
const values = range.getValues();
const grid = Grid.create(values);
for (const {json} of grid) {
Logger.log(json);
}
fromNamedValues(obj) → {Grid}
Pass in the named values property of the event from the onSubmit
callback
Parameters:
Name | Type | Description |
---|---|---|
obj |
Object |
the named values |
- Source: