View Full Version : Ext 4.1 Upgrade

2 May 2012, 1:54 AM

I'm in the process of upgrading to Ext 4.1 and I notice nothing renders anymore. So i think I have a lot of re factoring on my plate.

To give you an example.

I have a dataview which is a template for a list of menu items. When i bind this to a store using bindStore everything seems ok but nothing is rendered. In the bindStore method I see this

// If we have already achieved our first layout, refresh immediately.
// If we have bound to the Store before the first layout, then onBoxReady will
// call doFirstRefresh1
if (me.componentLayoutCounter) {

doFirstRefresh isnt called and calling it does fix my problem but I think there is something fundamentally wrong with my code as according to the comment above 'onBoxReady' should call the doFirstRefresh which i assume dumps the HTML into the DOM. So why isnt onboxready called?

Has anyone come across this or know what i need to do or is missing.

Thanks in advance


7 May 2012, 6:28 AM
I would set a breakpoint when you bindStore to follow it and see where it breaks down.