Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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

    AutoQueryPreload Function

    Allows you to choose to automatically load child data items and to search by nested items in the complex nested data source.

    #Declaration

    TypeScript
    export const AutoQueryPreload: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>

    #Parameters

    Name Type
    newVal boolean

    #Returns

    Type
    boolean

    #Remarks

    The AutoQueryPreload method allows you to optimize Data Source Wizard schema loading.

    To enable schema loading on demand or on tree node expansion in the Specify Data Source Settings page, call the AutoQueryPreload method in the BeforePrint event handler attached to the target component:

    DevExpress.Analytics.Wizard.AutoQueryPreload(false);
    

    Note

    The Search function only works for data objects that have already been loaded.