adds a new sheet into a SpreadSheet
content | object | optional, an object with the sheet content |
name | string | optional, the name of a new sheet |
show | boolean | optional, defines whether or not a new sheet should be visible (true by default) |
// get content of an active sheet
var content = $$("ssheet").serialize();
// copy to a new sheet named "My sheet"
$$("ssheet").addSheet(content, "My sheet");
If you don't provide any arguments, SpreadSheet will create a visible empty sheet with an automatically generated name.