ConfigureQueryPage Class
Implements the Report Wizard and Data Source Wizard‘s Configure Query page.
#Declaration
TypeScript
export class ConfigureQueryPage extends WizardPageBase<DevExpress.Analytics.Wizard.ISqlDataSourceWizardState, DevExpress.Analytics.Wizard.ISqlDataSourceWizardState>
#Inheritance
WizardPageBase<TState, TResult>
ConfigureQueryPage
#constructor(_options)
Initializes a new ConfigureQueryPage
class instance with specified settings.
#Declaration
TypeScript
constructor(
_options: DevExpress.Analytics.Wizard._DataSourceWizardOptions
)
#Parameters
Name | Type |
---|---|
_options | _Data |
#Properties
#initialName Property
#Declaration
TypeScript
initialName: string
#Property Value
Type |
---|
string |
#placeholder Property
#Declaration
TypeScript
placeholder: () => string
#Property Value
Type |
---|
() => string |
#popupQueryBuilder Property
#Declaration
TypeScript
popupQueryBuilder: DevExpress.Analytics.Wizard.Internal.QueryBuilderPopup
#Property Value
Type |
---|
Query |
#QUERY_TEXT Property
#Declaration
TypeScript
static QUERY_TEXT: string
#Property Value
Type |
---|
string |
#queryControl Property
#Declaration
TypeScript
queryControl: ko.Observable<DevExpress.Analytics.Wizard.Internal.ISqlQueryControl>
#Property Value
Type |
---|
Observable<ISql |
#queryName Property
#Declaration
TypeScript
queryName: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#queryNameCaption Property
#Declaration
TypeScript
queryNameCaption: () => string
#Property Value
Type |
---|
() => string |
#queryTypeItems Property
#Declaration
TypeScript
queryTypeItems: string[]
#Property Value
Type |
---|
string[] |
#runQueryBuilderBtnText Property
#Declaration
TypeScript
runQueryBuilderBtnText: ko.PureComputed<any>
#Property Value
Type |
---|
Pure |
#selectedQueryType Property
#Declaration
TypeScript
selectedQueryType: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#SP_TEXT Property
#Declaration
TypeScript
static SP_TEXT: string
#Property Value
Type |
---|
string |
#Methods
#canFinish Method
Gets or sets whether the Finish button is enabled on the wizard page.
#Declaration
TypeScript
canFinish(): boolean
#Returns
Type | Description |
---|---|
boolean | true, if the Finish button is enabled on the wizard page; otherwise, false. |
#canNext Method
Gets or sets whether the Next button is enabled on the wizard page.
#Declaration
TypeScript
canNext(): boolean
#Returns
Type | Description |
---|---|
boolean | true, if the Next button is enabled on the wizard page; otherwise, false. |
#commit Method
Commits settings to the local page state.
#Declaration
TypeScript
commit(): JQuery.Promise<DevExpress.Analytics.Wizard.ISqlDataSourceWizardState, any, any>
#Returns
Type |
---|
Promise<ISql |
#initialize(state) Method
Initializes the section with the specified settings.
#Declaration
TypeScript
initialize(
state: DevExpress.Analytics.Wizard.ISqlDataSourceWizardState
): JQueryPromise<any>
#Parameters
Name | Type | Description |
---|---|---|
state | ISql |
The section’s state. |
#Returns
Type |
---|
JQuery |
#localizeQueryType(queryTypeString) Method
#Declaration
TypeScript
localizeQueryType(
queryTypeString: string
): string
#Parameters
Name | Type |
---|---|
query |
string |
#Returns
Type |
---|
string |
#runQueryBuilder Method
#Declaration
TypeScript
runQueryBuilder(): void