The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V19.1
19.2 (preview)
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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