1. #11
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Answers
    1
    Vote Rating
    1
    DonM is on a distinguished road

      0  

    Default


    Tested the above code on desktop safari and desktop chrome, Both won't refresh the item template in Sencha Touch 2.1. Updated it too to remove the getCmp references. Either way it still doesn't seem to work like it used to. I looked through the documentation for any other ways to force the list to refresh and I don't see one.


    Also tried adding: console.log(this.up('list').getItemTpl());
    to make sure the template is actually being updated, and it looks like it is. I just can't get it to actually redraw the list, even if I reload the store attached to it or even switch stores.

    The documentation for refresh() states that it "Refreshes the view by reloading the data from the store and re-rendering the template" but it doesn't seem to work that way.

  2. #12
    Ext GWT Premium Member
    Join Date
    Jul 2010
    Posts
    17
    Vote Rating
    0
    Philippe Quemener is on a distinguished road

      0  

    Default


    I can confirm this. In Sencha Touch 2 it worked, in 2.1 not. Even if you do a refresh after the setItemTpl.

  3. #13
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Answers
    1
    Vote Rating
    1
    DonM is on a distinguished road

      0  

    Default


    Quote Originally Posted by Philippe Quemener View Post
    I can confirm this. In Sencha Touch 2 it worked, in 2.1 not. Even if you do a refresh after the setItemTpl.
    http://www.sencha.com/forum/showthre...020#post930020

    Apparently its fixed in 2.1.1, though I don't know when that will be out.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar