PDA

View Full Version : getActiveItem().update(data) works on browser but not on iPhone Simulator



siebmanb
2 Sep 2011, 4:21 AM
Hello everyone,
I looked everywhere and tried everything I couldn't find a solution.
I have a TabPanel with Components as tabs. I am trying to update tab content with a JSONP request when opened.
I used the following code to update the content :

tabs.getActiveItem().update(data);

(tabs it the name of my TabPanel)

It worked fine on Safari, but doesn't on the iPhone Simulator. The data is well received, but the component doesn't update. Can you guys give me a hand please ?

Thanks in advance.

PS : I posted the same question in the Ext forum (no answer), but figured it may not be the right place after all

siebmanb
8 Sep 2011, 11:34 PM
Consult my workaround (http://www.sencha.com/forum/showthread.php?145836-getActiveItem().update(data)-works-on-browser-but-not-on-iPhone-Simulator)