PDA

View Full Version : reconfigure before render problem



g_papasavva
3 Jun 2009, 5:34 AM
I have a tab which has a gridPanel. I do not render the grid until a user clicks the tab. The gridPanel works with several stores. I use reconfigure to switch to a different store.
The problem is that if i use reconfigure before rendering, the new store is never reconfigured.
Is there a way to fix this?

Animal
3 Jun 2009, 6:07 AM
Override reconfigure to test this.rendered, and if not, set up a call to reconfigire via a {single:true} render listener.