PDA

View Full Version : How to see result of the loading of data in the store of a form field after render?



samax
13 Jun 2009, 3:36 AM
Hello,
I've loaded data in the store of a form field (a combo box) via the loadData method (the data I've loaded is stored in a javascript array, containing a "success" field and a "data" field). The data is well stored in the field store (in store.reader.jsonData.data), but the result is not visible on the field (when I click on the arrow onthe right on the field, there is nothing).

How can I apply the store change?

Thanks.

tryanDLS
13 Jun 2009, 7:45 AM
http://extjs.com/learn/Ext_Forum_Help#Posting_a_working_showcase

samax
14 Jun 2009, 11:37 PM
Hello,
Excuse me but I don't see the relation between my issue and your link. My problem is that I see the combo box field, but not the content I loaded in it. If I load its content at the render of it (by defining a store with autoload at true for example), it works, but when I do a loadData on its store after the render, its content doesn't appear.

I hope I've been clear on my description.