PDA

View Full Version : Extjs Dynamicly loading treepanel



JeroenR
4 Nov 2014, 2:53 AM
I am making an application that has to load json data in a treeview(the json objects are records/row in the database). For example a json string looks like this:


[{"id":"90","email_address":test@test.com"},{"id":"92","email_address":test2@test2.com"}]
The problem is that i don't get this load in a treepanel. The treepanel has to make a leaf for each object with the proper attributes. Can somebody help me make this panel? I can't fix it myself and stuck on it for 2 days now.... Ty in advance!

slemmon
5 Nov 2014, 2:10 PM
Hi,

Can you post your test case that you have thus far either inline here or at https://fiddle.sencha.com including the tree, store, and sample data? The community is often more willing to help out if there is a test case set up to start with.