EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: sectioni on April 13, 2020, 06:31:27 AM



Title: Make tree load complete data
Post by: sectioni on April 13, 2020, 06:31:27 AM
Hello,

My tree is loading data via the url property.
I have a loadFilter which sets all nodes to "closed" state.

When I expand a node, I don't want it to go to the server again, since the tree already has all the data including all children.


Title: Re: Make tree load complete data
Post by: jarry on April 15, 2020, 11:43:17 PM
If a node has loaded children nodes, it does not go to server again. Please make sure if you have retrieved all the nodes from server before loading into the tree.