How to build the below tree with EXTJS? -


below mentioned required tree.i want use same 'img'[directory] & symbols( '+', '-') expansion & compression.i'm not familiar extjs.right i'm running extjs through html & js.can any1 me exact code ?

-[img] parent     -[img] first level child 1         -[img] second level child                 [img] third level child 1                 [img] third level child 2                 [img] third level child 3      +[img] first level child 2      +[img] first level child 3 

have seen samples in sencha website? there's example of how asynchronously load data. use firebug see json comes php. give idea of how structure json end.

the example show how structure ext code well.

in json, you'll see property called 'cls' . css class id used in tree node. leave these alone until able tree running.

once source code going, edit question can more.


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -