ASP.NET MVC Controls | ComponentOne
In This Topic
    UndoStack Class
    In This Topic
    File
    wijmo.grid.sheet.js
    Module
    wijmo.grid.sheet

    Controls undo and redo operations in the FlexSheet.

    Constructor

    constructor

    constructor(owner: FlexSheet): UndoStack
    

    Initializes a new instance of the UndoStack class.

    Parameters
    Returns
    UndoStack

    Properties

    canRedo

    Checks whether a redo action can be performed.

    Type
    boolean

    canUndo

    Checks whether an undo action can be performed.

    Type
    boolean

    stackSize

    Gets or sets the size of the undo stack.

    Type
    number

    Methods

    clear

    clear(): void
    

    Clears the undo stack.

    Returns
    void

    onUndoStackChanged

    onUndoStackChanged(e?: EventArgs): void
    

    Raises the undoStackChanged event.

    Parameters
    Returns
    void

    redo

    redo(): void
    

    Redo the last undone action.

    Returns
    void

    undo

    undo(): void
    

    Undo the last action.

    Returns
    void

    Events

    undoStackChanged

    Occurs after the undo stack has changed.

    Arguments
    EventArgs