SpreadJS Documentation
selectPreviousControl Field
GC.Spread.Sheets Namespace > Commands type : selectPreviousControl Field
Represents the command used to select the previous control.
Syntax
var value; // Type: selectPreviousControl
value = GC.Spread.Sheets.Commands.selectPreviousControl;
var selectPreviousControl : selectPreviousControl;
Example
This example maps the selectPreviousControl action to the Shift + Tab key combination.
spread.commandManager().setShortcutKey('selectNextControl', GC.Spread.Commands.Key.tab, false, false, false, false); // Tab key
spread.commandManager().setShortcutKey('selectPreviousControl', GC.Spread.Commands.Key.tab, false, true, false, false); // Shift key and Tab key
See Also

Reference

Commands type