Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreePanel - loading multiple entities at once #1210

Open
michalcharvat opened this issue Dec 19, 2024 · 0 comments
Open

TreePanel - loading multiple entities at once #1210

michalcharvat opened this issue Dec 19, 2024 · 0 comments

Comments

@michalcharvat
Copy link
Contributor

Is there a solution to restore the tree state after render? I’ve already noticed a similar issue with combos—you can’t have the same combo twice in a form because the second combo is empty while the first is loaded. When I discussed this with Michael, the solution was to create a single store for both combos and assign that store to all combos.

However, I’m not sure if the same logic can be applied to a tree loader. If I’m not mistaken, there are currently only two modules that use a TreePanel: AddressBook and Catalog. AddressBook only has the first level under the root node, while Catalog doesn’t restore the state—probably due to an issue with the entity store.

Do you have any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant