Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

LoadChildItemsForCollapsedNodes Function

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

#Declaration

TypeScript
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.