SpreadJS Documentation
moveToPreviousCellThenControl Method
If the active cell is the first visible cell, selects the previous control; otherwise, moves the active cell to the previous cell.
Syntax
var value; // Type: any
value = GcSpread.Sheets.SpreadActions.moveToPreviousCellThenControl();
function moveToPreviousCellThenControl() : any;
Example
This example maps the moveToPreviousCellThenControl action.
activeSheet.addKeyMap(GcSpread.Sheets.Key.tab, false, false, false, false, GcSpread.Sheets.SpreadActions.moveToNextCellThenControl); // Tab key
activeSheet.addKeyMap(GcSpread.Sheets.Key.tab, false, true, false, false, GcSpread.Sheets.SpreadActions.moveToPreviousCellThenControl); // Shift key and Tab key
See Also

Reference

SpreadActions class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.