Load Data on Demand
The TreeList can load a remote dataset dynamically as a user expands nodes. The dataset must have a plain structure.
This feature requires client- and server-side configurations. To configure the client-side part, do the following:
Delegate filtering to the server
Set the remoteOperations.filtering property to true.
Specify the data field that defines whether the node has children
Use the hasItemsExpr property to set this data field.
This demo uses a simple data bind technique that is useful for data display purposes only. When a user clicks a node, TreeList receives a JSON object from the server, which is based on the parentIds property value. This technique does not support the built-in data process operations in TreeList on the server.
If your project needs to process data, do one of the following instead:
If you have technical questions, please create a support ticket in the DevExpress Support Center.