resets the SpreadSheet settings to the initial state
| mode | object | optional, the reset mode; pass { sheets:true } to reset all the sheets |
$$("ss").config.columnCount = 5;
$$("ss").config.rowCount = 10;
$$("ss").reset();
By default, the method clears only the active sheet. If you pass { sheets:true }, the method removes all the sheets and creates a single empty sheet:
$$("ss").reset({ sheets:true });
Back to top