ConfigureQueryPage Class
Declaration
class ConfigureQueryPage extends WizardPageBase<ISqlDataSourceWizardState, ISqlDataSourceWizardState>
constructor(_options)
Initializes a new ConfigureQueryPage
class instance with specified settings.
Declaration
constructor(
_options: _DataSourceWizardOptions
)
Parameters
Name |
Type |
Description |
_options |
_DataSourceWizardOptions |
The section’s options.
|
Properties
initialName Property
Declaration
initialName: string
Property Value
placeholder Property
Declaration
placeholder: () => string
Property Value
popupQueryBuilder: Wizard.Internal.QueryBuilderPopup
QUERY_TEXT Property
Declaration
static QUERY_TEXT: string
Property Value
queryControl Property
Declaration
queryControl: ko.Observable<Internal.ISqlQueryControl>
Property Value
Type |
Observable<ISqlQueryControl> |
queryName Property
Declaration
queryName: ko.Observable<string>
Property Value
queryNameCaption Property
Declaration
queryNameCaption: () => string
Property Value
queryTypeItems Property
Declaration
queryTypeItems: string[]
Property Value
runQueryBuilderBtnText Property
Declaration
runQueryBuilderBtnText: ko.PureComputed<any>
Property Value
selectedQueryType Property
Declaration
selectedQueryType: ko.Observable<string>
Property Value
SP_TEXT Property
Declaration
static SP_TEXT: string
Property Value
Methods
canFinish Method
Gets or sets whether the Finish button is enabled on the wizard page.
Declaration
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
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
commit(): JQuery.Promise<ISqlDataSourceWizardState, any, any>
Returns
Type |
Description |
JQuery.Promise<ISqlDataSourceWizardState,any,any> |
A JQuery Promise object that identifies whether the commit succeeded.
|
initialize(state) Method
Initializes the section with the specified settings.
Declaration
initialize(
state: ISqlDataSourceWizardState
): JQueryPromise<any>
Parameters
Returns
localizeQueryType(queryTypeString) Method
Declaration
localizeQueryType(
queryTypeString: string
): any
Parameters
Name |
Type |
queryTypeString |
string |
Returns
runQueryBuilder Method
Declaration
runQueryBuilder(): void