View Full Version : How to change/update gridpanel from function outside Ext.onReady function?

20 Feb 2010, 12:47 AM
I have a flex application, which queries data from server and displays it and also sends it to javascript function named 'ReceiveFromFlex'....
Now I just want to show that xml data coming into this function using ext gridpanel. How can I do it?
I tried almost everything whatever I could...I am new to Extjs and dont know how to work with its components outside Ext.onReady(..) fuction.
I have all my components declared in this onReady event and my xml receiving function is outside of it.

Please guide me a bit how can I achieve my goal?
I Dont want to request server twice for the same data.

20 Feb 2010, 11:12 AM
You can get the grid by using

and then load the data into the store using the load function:


Hope that is what you searched for...