mercredi 17 septembre 2014

Update Data store with reload button

I tried the example on the site it is using

store1.loadData(generateData(8));fromhttp://ift.tt/1mdQ1pj



Code:



{
text: 'Reload Data',
handler: function() {
// Add a short delay to prevent fast sequential clicks
window.loadTask.delay(100, function() {
var range = Ext.getCmp('dateRange').getValue();
performanceChartDataStore = getPerformanceDataStore(range);

});
}
}

getPerformanceDataStore(range) this updates the store.but the chart does not reload to show the change.i attached my full js file(renamed to txt)



Update Data store with reload button

Aucun commentaire:

Enregistrer un commentaire