Skip to main content
All docs
V25.1
  • MasterDetailRelationshipsPageBase<TState, TResult> Class

    Declaration

    export class MasterDetailRelationshipsPageBase<TState = any, TResult = any> extends WizardPageBase<TState, TResult>

    Type Parameters

    Name
    TState
    TResult

    constructor<TState, TResult>(_getResultSchema)

    Initializes a new instance of the MasterDetailRelationshipsPageBase<TState, TResult> class with specified settings.

    Declaration

    constructor(
        _getResultSchema: (dataSource: DevExpress.Analytics.Data.IDataSourceBase,
        queryName?: string,
        relationsEditing?: boolean) => DevExpress.Analytics.Internal.DxPromise<IRebuildSchemaResponse>
    )

    Parameters

    Name Type
    _getResultSchema (dataSource: IDataSourceBase, queryName?: string, relationsEditing?: boolean) => DxPromise<IRebuildSchemaResponse>

    Type Parameters

    Name Description
    TState

    A type of the state to initialize the page (optional).

    TResult

    A type of the page’s commit result (optional).

    Methods

    canFinish Method

    Declaration

    canFinish(): boolean

    Returns

    Type
    boolean

    canNext Method

    Declaration

    canNext(): boolean

    Returns

    Type
    boolean

    dispose Method

    Declaration

    dispose(): void

    initialize(state) Method

    Declaration

    initialize(
        state: TState
    ): JQuery.Promise<DevExpress.Analytics.Data.ResultSet, any, any>

    Parameters

    Name Type
    state TState

    Returns

    Type
    Promise<ResultSet,any,any>