Hi everyone,
I've a doubt regarding autoLoad property of the Panel component. My panel has an ExtJs chart in it. The data required to plot that is inside a function which helps to plot the chart in the panel.
Using AutoLoad with function call instead of url
I've a doubt regarding autoLoad property of the Panel component. My panel has an ExtJs chart in it. The data required to plot that is inside a function which helps to plot the chart in the panel.
AutoLoad It generally takes the url: 'users.json' / html / jsp page as input but is there a way to call a function for autoLoading and setting autoRefresh for that function to be called?
like this :
myPanel.getUpdater().startAutoRefresh(timer, callMe());
Instead of :
myPanel.getUpdater().startAutoRefresh(timer, '<%=request.getContextPath()%>/com/abc/webRep/web/ViewDashboard/myJsp.jsp');
I've all required data inside that function. And I need to continuously refresh that panel along with the chart. Please help.
Using AutoLoad with function call instead of url
Aucun commentaire:
Enregistrer un commentaire