SpreadJS 14
GC.Spread.Sheets Namespace / Commands type / selectionLeft Field
In This Topic
    selectionLeft Field
    In This Topic
    Represents the command used to extend the selection one column to the left.
    Syntax
    var value; // Type: selectionLeft
    value = GC.Spread.Sheets.Commands.selectionLeft;
    var selectionLeft : selectionLeft;
    Example
    This example uses the selectionLeft action.
    spread.commandManager().setShortcutKey('selectionLeft', GC.Spread.Commands.Key.a, false, false, false, false);
    Remarks
    Name Description

    canUndo

    boolean

    Indicates whether the command supports undo and redo operations.

    execute

    function

    Performs an execute or undo function.

    The arguments of the execute method are as follows.

    • context {GC.Spread.Sheets.Workbook} - The context of the operation.
    • options {Object} - The options of the operation.
    • options.sheetName {string} - The sheet name.
    • isUndo {boolean} - true if this is an undo operation; otherwise, false.
    See Also

    Reference

    Commands type