You can specify the number of sheets.
This example sets the number of sheets.
| JavaScript |
Copy Code
|
|---|---|
$(document).ready(function () { var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"), {sheetCount:3}); // Set the number of sheets to 5. spread.setSheetCount(5); }); |
|