Results 1 to 2 of 2

Thread: Ext 4.1 Upgrade

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    110

    Default Answered: Ext 4.1 Upgrade

    Hi

    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

    PHP Code:
    // 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) {           
         
    me.doFirstRefresh(store);

    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

    Jon

  2. I would set a breakpoint when you bindStore to follow it and see where it breaks down.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    I would set a breakpoint when you bindStore to follow it and see where it breaks down.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •