PDA

View Full Version : Dynamic Loading of Tree Store



sivaramaiah.dulla
13 Aug 2014, 8:08 AM
Hi,

Please provide the code to load a Tree Store dynamically. Also provide the sample JSON.

Thanks,
Siva

fmoseley
15 Aug 2014, 9:36 AM
See the Xml Tree example (http://docs.sencha.com/extjs/4.2.2/#!/example/build/KitchenSink/ext-theme-neptune/#tree-xml). It is an example of lazy loading and though it does not use JSON the concept is the same. The only difference is the format of the data. It should get you started in the right direction. You could also try searching the forums and web for other examples.

sivaramaiah.dulla
17 Aug 2014, 11:11 PM
My requirement is to display a tree in the combobox and the combo should be loaded dynamically.