[]
        
(Showing Draft Content)

Wijmo_Grid_Sheet.Undostack

UndoStack Class

Controls undo and redo operations in the FlexSheet.

Heirarchy

  • UndoStack

Constructors

constructor

Properties

canRedo

canRedo: boolean

Checks whether a redo action can be performed.

canUndo

canUndo: boolean

Checks whether an undo action can be performed.

stackSize

stackSize: number

Gets or sets the size of the undo stack.

Methods

clear

  • clear(): void
  • Clears the undo stack.

    Returns void

onUndoStackChanged

redo

  • redo(): void
  • Redo the last undone action.

    Returns void

undo

  • undo(): void
  • Undo the last action.

    Returns void

Events

undoStackChanged

undoStackChanged: Event<UndoStack, EventArgs>

Occurs after the undo stack has changed.