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