Single JSON to multiple stores
March 17th, 2010As the title of my post suggests I would like to use a single JSON call to populate various stores. Some stores will render combo boxes, others custom elements on a page.
I searched the forum and got half an idea this is possible. The reason we want to keep it to a single call (or maximum two) is simply the large number of form controls that may require updating dynamically. My collegue who is responsible for programming the servlet/db2 backend stuff also tells me he would prefer it this way - as he will be writing a stored prodcedure that will grab all of the combo data in one go.
Can someone point me in the right direction, or give me a brief answer on how best to achieve this? I thought making use of the 'root' element and a single load call might be the way forward but I've ground to a halt here.
Thanks in advance.
Deano
http://extjs.com/forum/showthread.php?p=152526#post152526
#If you have any other info about this subject , Please add it free.# |