I created a tree structure in my backend code and using this and now I need to set these records to a tree store, without traversing the tree again.
How can I replace or set these records to my tree store?
What I do is like below but it doesn't work tree.getRootNode().childNodes = records;
Here are my records: