Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
Tree disappears when a node is collapsed
When a tree is loaded into collapsed panel on page load, it does not work properly. Upon expanding the collapsed panel, the tree appears fine but upon trying to collapse/expand a node of the tree, the entire tree disappears.
If the panel is expanded when the page loads, tree works fine. Expanding/collapsing a node will work properly.
-
Sencha User
Hi,
Please provide a test case demonstrating the problem so we can look into a solution for you.
Ideally, a test case would be:
1. A simple example using the minimal amount of code that shows an issue in a Sencha product.
2. Locally runnable
3. Reproducible
4. Isolated from third party products
5. Without requirements to access any remote resources
6. All data needed available to be loaded locally (using a JSON or XML flat file)
7. Preferably at fiddle.
If your issue is specific to a browser or OS, please note that. Screen caps and Screencasts created by products like Jing may also be very helpful in tracking down any issues
Thanks!
Kevin Jackson
Sencha Support Team
-
Sencha User
Thanks for the respond. Please visit below fiddle link for the test case and observe the behaviour.
https://fiddle.sencha.com/#view/editor&fiddle/1pk2
-
Sencha User
Thanks for your fiddle. I went back and looked at it and noticed that you were getting some errors in the Console and thought it might be in the forming of your data source.
It appears that was where the error was because when I replaced the data, it works fine.
Hope this helps
https://fiddle.sencha.com/#view/editor&fiddle/1plq
Kevin Jackson
Sencha Support Team
-
Sencha User
It's nothing related to data. I've checked with Chrome and no error is coming while performing the test case. In our case, Tree store will be loaded using Ajax request and it won't work as in the case of json file. Could you please check with external json file. Its something about treeview and its not getting refreshed after node operation occurs.