voja Posted May 29, 2012 Posted May 29, 2012 I have problem with runtime chart,ajax error when set series values in runtime. Same code work with 0.88.1.943, now with 0.89.0.956 : Cannot call method 'setDataProvider' of undefined O493=new Object({id:"zero",width:11,resizable:false,renderer:function(){return " ";}}); O494=new Ext.grid.Column({id:"0",dataIndex:"0",hidden:true,renderer:_rndcll_,rdonly:true,header:"Account",width:-1,attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O495=new Ext.grid.Column({id:"1",dataIndex:"1",renderer:_rndcll_,rdonly:true,header:"Start Time",width:150,cf:"**n/j/Y",ct:"datetime",attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O496=new Ext.grid.Column({id:"2",dataIndex:"2",renderer:_rndcll_,rdonly:true,header:"End Time",width:150,cf:"**n/j/Y",ct:"datetime",attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O497=new Ext.grid.Column({id:"3",dataIndex:"3",renderer:_rndcll_,rdonly:true,header:"Usage Time",width:120,attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O498=new Ext.grid.Column({id:"4",dataIndex:"4",hidden:true,renderer:_rndcll_,rdonly:true,header:"\x3Cp style=\"text-align:right\"\x3ELogins\x3C/p\x3E",width:150,align:"right",ct:"number",attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O499=new Ext.grid.Column({id:"5",dataIndex:"5",hidden:true,renderer:_rndcll_,rdonly:true,header:"\x3Cp style=\"text-align:right\"\x3EDownload\x3C/p\x3E",width:150,align:"right",attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O49A=new Ext.grid.Column({id:"6",dataIndex:"6",hidden:true,renderer:_rndcll_,rdonly:true,header:"\x3Cp style=\"text-align:right\"\x3EUpload\x3C/p\x3E",width:150,align:"right",attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O49B=new Ext.grid.Column({id:"7",dataIndex:"7",hidden:true,renderer:_rndcll_,rdonly:true,header:"\x3Cp style=\"text-align:right\"\x3ESales\x3C/p\x3E",width:200,align:"right",attr:"{ft:'11px Arial'}",editable:false,editor:O3DF}); O491=new Ext.grid.ColumnModel({defaults: { menuDisabled: true },columns:[O493,O494,O495,O496,O497,O498,O499,O49A,O49B]});O491.nm="O491";O493.nm="O493";O494.nm="O494";O495.nm="O495";O496.nm="O496";O497.nm="O497";O498.nm="O498";O499.nm="O499";O49A.nm="O49A";O49B.nm="O49B";O3CD.reconfigure(O3EB,O491);O3EB.load({params:{start:0, limit:10, options:2}});O416.removeAll(false); O49C= Ext.data.Record.create(["A","B"]);O49C.nm="O49C";O416.add([new O49C({"A":"0","B":"0"}),new O49C({"A":"1","B":"0"}),new O49C({"A":"2","B":"0"}),new O49C({"A":"3","B":"0"}),new O49C({"A":"4","B":"0"}),new O49C({"A":"5","B":"0"}),new O49C({"A":"6","B":"0"}),new O49C({"A":"7","B":"0"}),new O49C({"A":"8","B":"879"}),new O49C({"A":"9","B":"0"}),new O49C({"A":"10","B":"0"}),new O49C({"A":"11","B":"0"}),new O49C({"A":"12","B":"0"}),new O49C({"A":"13","B":"0"}),new O49C({"A":"14","B":"0"}),new O49C({"A":"15","B":"0"}),new O49C({"A":"16","B":"0"}),new O49C({"A":"17","B":"0"}),new O49C({"A":"18","B":"0"}),new O49C({"A":"19","B":"0"}),new O49C({"A":"20","B":"0"}),new O49C({"A":"21","B":"0"}),new O49C({"A":"22","B":"0"}),new O49C({"A":"23","B":"0"})]);O48B.bindStore(O416); Please, some help Quote
Administrators Farshad Mohajeri Posted May 29, 2012 Administrators Posted May 29, 2012 In order to help a test case is needed. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.