In virtual mode, the TreeView loads a node's children when the node is expanded for the first time. This enhances performance on large datasets.
When the data source is remote, the TreeView requests data for each expanded node. To prevent this for nodes that do not nest others, set the hasItems field to false for the corresponding data objects.
This demo enables virtual mode with a remote data source and uses the hasItemsExpr property to specify a custom name for the