PDA

View Full Version : [CLOSED][DUP][3.1.1-rc] Chart refresh fails when not visible (in inactive tab)



extjs@peacetech.com
6 Feb 2010, 3:26 PM
Ext 3.1.1 (SVN as of 2/6/10)
Not sure it is a bug and if it is it can be fixed

If I reload store associated with a Chart while Chart is in inactive tab, I get the error below. It is not an issue of lazy (first time) rendering as I can select Chart's tab watch refreshes working fine but as soon as I switch to another tab error occurs.



this.swf.setDataProvider is not a function
refresh()ext-all-debug.js (line 53394)
fire()ext-all-debug.js (line 2415)
fireEvent()ext-all-debug.js (line 2061)
loadRecords(Object { name="o"}, Object { name="options"}, Object { name="success"})ext-all-debug.js (line 33596)
onRead(Object { name="action"}, Object { name="o"}, Object { name="response"})ext-all-debug.js (line 35806)
createCallback(Object { name="o"}, Object { name="success"}, Object { name="response"})ext-all-debug.js (line 35761)
handleResponse(Object { name="response"})ext-all-debug.js (line 9522)
handleTransactionResponse(Object { name="o"}, Object { name="callback"}, Object { name="isAbort"}, Object { name="isTimeout"})ext-base-debug.js (line 2488)
(?)()ext-base-debug.js (line 2552)

mystix
6 Feb 2010, 7:48 PM
Duplicate of this bug report posted yesterday:
http://www.extjs.com/forum/showthread.php?t=91462