Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportDialogBase Class

Provides the base functionality for dialogs used to open and save reports in the Web Report Designer.

#Declaration

TypeScript
export class ReportDialogBase extends Disposable

#Properties

#buttons Property

Provides access to buttons displayed in a dialog.

#Declaration

TypeScript
buttons: any[]

#Property Value

Type Description
any[]

An array of buttons displayed in the dialog.

#disabled Property

Specified if a dialog is disabled.

#Declaration

TypeScript
disabled: ko.Observable<boolean>

#Property Value

Type Description
Observable<boolean>

true, to disable a dialog; otherwise, false.

#height Property

Specifies a dialog’s height.

#Declaration

TypeScript
height: ko.Observable<any>

#Property Value

Type Description
Observable<any>

A knockout observable object that specifies a dialog’s height.

#model Property

Specifies a dialog’s model.

#Declaration

TypeScript
model: ko.Observable<DevExpress.Reporting.Designer.Tools.IDialogModel>

#Property Value

Type Description
Observable<IDialogModel>

A knockout observable object of the dialog model.

#tab Property

Specifies a report tab for which a dialog appears.

#Declaration

TypeScript
tab: ko.Observable<DevExpress.Reporting.Designer.Tools.INavigateTab>

#Property Value

Type Description
Observable<INavigateTab>

A knockout observable object of the report tab.

#template Property

Specifies the name of an HTML template used by a dialog.

#Declaration

TypeScript
template: ko.Observable<string>

#Property Value

Type Description
Observable<string>

A knockout observable string that specifies the name of the HTML template used by a dialog.

#visible Property

Specifies a dialog’s visibility state.

#Declaration

TypeScript
visible: ko.Computed<boolean>

#Property Value

Type Description
Computed<boolean>

true, if the dialog is visible; otherwise, false;

#width Property

Specifies a dialog’s width.

#Declaration

TypeScript
width: ko.Observable<any>

#Property Value

Type Description
Observable<any>

A knockout observable object that specifies a dialog’s width.

#Methods

#cancel Method

Cancels the dialog.

#Declaration

TypeScript
cancel(): void

#customize(template, model) Method

Customizes the dialog based on the specified template and model.

#Declaration

TypeScript
customize(
    template: string,
    model: DevExpress.Reporting.Designer.Tools.IDialogModel
): void

#Parameters

Name Type Description
template string

The name of the dialog’s HTML template.

model IDialogModel

The dialog model.

#show(tab) Method

Shows the dialog for the specified report tab.

#Declaration

TypeScript
show(
    tab: DevExpress.Reporting.Designer.Tools.INavigateTab
): void

#Parameters

Name Type Description
tab INavigateTab

A report tab for which the dialog should be shown.