Skip to main content
All docs
V25.1
  • LoadChildItemsForCollapsedNodes Function

    Specifies whether to load child nodes in the field list before the node is expanded.

    Declaration

    export const LoadChildItemsForCollapsedNodes: DevExpress.Analytics.Internal.IGlobalSubscribableValue<boolean>

    Parameters

    Name Type
    newVal boolean

    Returns

    Type
    boolean

    Remarks

    The property affects the Report Designer’s field list. When this property is true (default value), the control loads the child nodes before the parent item is expanded. When the user expands an item, child items are already loaded and the delay is minimized. However, this behavior increases memory usage and can result in higher response times when the field list contains many nested items. In this situation, handle the BeforeRender event and set the DevExpress.Analytics.Widgets.TreeList.LoadChildItemsForCollapsedNodes property to false.

    Note

    When this setting is false, the Field List displays expand buttons for all data sources, even if the data source does not have inner fields.