The requested page is not available for the requested platform. You are viewing the content for Default platform.

UndoEngine Class

Provides functionality to an undo/redo engine in the Web Report Designer.

Declaration

class UndoEngine extends Disposable

Properties

isDirty Property

Provides access to a value that specifies whether a report has been changed.

Declaration

isDirty: ko.Computed<boolean>

Property Value

Type Description
ko.Computed<boolean>

A knockout computed boolean object, whose value is true if the report has been modified, and false otherwise.

redoEnabled Property

Provides access to a value that specifies whether the redo action can currently be performed.

Declaration

redoEnabled: ko.Observable<boolean>

Property Value

Type Description
ko.Observable<boolean>

A knockout observable boolean object, whose value is true if the redo action can be performed, and false otherwise.

undoEnabled Property

Provides access to a value that specifies whether the undo action can currently be performed.

Declaration

undoEnabled: ko.Observable<boolean>

Property Value

Type Description
ko.Observable<boolean>

A knockout observable boolean object, whose value is true if the undo action can be performed, and false otherwise.

Methods

clearHistory Method

Clears information about edit operations made to a report, so they cannot not be undone.

Declaration

clearHistory(): void

redo Method

Reverses the results of the last undo action.

Declaration

redo(): void

undo Method

Undoes the last edit action in a report.

Declaration

undo(): void

undoAll Method

Undoes all changes made to a report.

Declaration

undoAll(): void