View Full Version : Store loading and TreePanel reloading in (Internet Explorer) IE 8

4 Apr 2011, 7:07 AM
I have a page with lots of Panels including TreePanels etc. It works everything on Firefox but on IE 8, dataStore.load() of GridPanel and treepanel.root.reload() doesn't seem to do anything. If I manually do a page refresh, I can see the expected results.

Have tried searching these forums but did not notice this specific issue.

Any inputs?

4 Apr 2011, 7:52 AM
Have you run your code through www.jslint.com (http://www.jslint.com)? If it works in FF but not IE, the problem can often be a trailing comma. Additionally, if you are using JSON data, check this with www.jsonlint.com (http://www.jsonlint.com). (Also, take a look at Firebug Lite (http://getfirebug.com/firebuglite) to help with debugging/developing in IE.)

EDIT: I just spotted that you say it works on a page refresh, could there be a caching issue on IE?

4 Apr 2011, 9:34 AM
Thanks for looking Fay.

I can see the Ajax disableCachingParam (_dc) coming in as the request which should disable caching. Having said so, after I read your message, have also tried various header params like timestamp etc.

No change in behaviour.

4 Apr 2011, 9:41 AM
Could you post a working showcase (http://www.sencha.com/learn/Ext_Forum_Help#Posting_a_working_showcase) (including some sample data) - something that we can run to check. Perhaps in doing so - breaking down your code into a smaller portion - you might spot what's awry.