SpreadJS Documentation
navigationPreviousSheet Method
Makes the active sheet to the previous sheet.
Syntax
var value; // Type: any
value = GcSpread.Sheets.SpreadActions.navigationPreviousSheet();
function navigationPreviousSheet() : any;
Example
This example uses the navigationPreviousSheet action.
for (var i = 0; i < spread.getSheetCount(); i++) {
                var sheet = spread.getSheet(i);
                sheet.addKeyMap(GcSpread.Sheets.Key.a, false, false, false, false, GcSpread.Sheets.SpreadActions.navigationNextSheet);
                sheet.addKeyMap(GcSpread.Sheets.Key.c, false, false, false, false, GcSpread.Sheets.SpreadActions.navigationPreviousSheet);
            }
See Also

Reference

SpreadActions class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.