Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Jan 2011
    Posts
    2
    Vote Rating
    0
    devicezero is on a distinguished road

      0  

    Default setCard rerendering?

    setCard rerendering?


    Hi!

    I have a problem with setCard() concerning the output of the UI.

    I have a TabPanel which contains a toolbar (top) and a TabBar (bottom).
    From a list that is set as the card of one of the TabBar-items I want to switch to another item.

    Via setCard I assign the new item to the Tab, but it does't update the UI. I think my failure is located somewhere in rendering of the UI. Concerning to the console the object itself is updated and the Tab includes the new Item. But the changes are not made visible. I tried to call the doLayout() and doComponentLayout() - functions from my TabPanel object but nothing changes.


    note: I'm almost new to Sencha Touch and on my way trying to understand the principles, but capable of JS ;-)

    Thank you for any help!
    Jonas

  2. #2
    Ext User
    Join Date
    Jan 2011
    Posts
    2
    Vote Rating
    0
    devicezero is on a distinguished road

      0  

    Default


    maybe the code helps you to help me

    Code:
    var myarray = tabpanel.getDockedItems();
    myarray[1].items.items[1].setCard(playlistItems);
    myarray[1].cardLayout.setActiveItem(1);
    myarray[1].doLayout();
    myarray[1].doComponentLayout();

Similar Threads

  1. setCard callback
    By tomalex0 in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 19 Sep 2010, 10:10 PM
  2. Carousel SetCard
    By hitman01 in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 14 Sep 2010, 4:01 PM
  3. Error when using setCard()
    By tido in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 12 Aug 2010, 5:25 PM
  4. StartMenu rerendering
    By bbones in forum Community Discussion
    Replies: 6
    Last Post: 29 May 2009, 3:08 AM
  5. Updating (or rerendering) grid column
    By emredagli in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 19 Jan 2009, 11:46 AM

Tags for this Thread