PDA

View Full Version : Best way to reconfigure a grid with new data and column model



mankz
2 Sep 2009, 1:38 PM
I'm generating columnmodel structure on the server. When my ajax request finishes I hand the data to the store through a loadData call. This leads to unnescessary grid view refreshes,
loadData causes the gridView to refresh itself, and so does the reconfigure call. I can't seem to find a good way to solve this cleanly as I only want one grid view refresh. Any thoughts?



this.store.loadData(resources);
this.reconfigure(this.store, cm);