PDA

View Full Version : Loading menu items via a json store



Hollywood
19 Dec 2009, 9:26 PM
Hey Guys,

Is there any way we can load the menu items dynamically from a JsonStore, i went through the menu documentation but didn't see any config option for a store.

Would be great if someone could post a code snippet,

Thanks ,

Hw

fay
20 Dec 2009, 4:59 AM
...i went through the menu documentation...

Hiya, whenever trying to figure out something like this, I'd recommend that, in addition to reading the documentation, try searching the forums, reading the FAQs (http://www.extjs.com/learn/Main_Page), and delving into the ExtJS example/source code - it's the best way to learn :)

This has been covered a number of times:



http://www.extjs.com/forum/showthread.php?p=124589#post124589
http://www.extjs.com/forum/showthread.php?t=70436
http://www.extjs.com/forum/showthread.php?t=61674 (StoreMenu)