SpreadJS 15
GC.Spread.Sheets Namespace / Commands type / selectionRight Field
In This Topic
    selectionRight Field
    In This Topic
    Represents the command used to extend the selection one column to the right.
    Syntax
    var value; // Type: selectionRight
    value = GC.Spread.Sheets.Commands.selectionRight;
    var selectionRight : selectionRight;
    Example
    This example uses the selectionRight action.
    spread.commandManager().setShortcutKey("selectionRight", 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