SpreadJS 13
GC.Spread.Sheets Namespace / Commands type / selectPreviousControl Field
In This Topic
    selectPreviousControl Field
    In This Topic
    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