SpreadJS Documentation
Setting the Number of Sheets

You can specify the number of sheets.

Using Code

This example sets the number of sheets.

JavaScript
Copy Code
$(document).ready(function () {
    var spread = new GcSpread.Sheets.Spread($("#ss").get(0),{sheetCount:3});

    //Set the number of sheets to 5.
    spread.setSheetCount(5);
});

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.