1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    91
    Vote Rating
    0
    TheBigOnion is on a distinguished road

      0  

    Default How to hide/show panels.

    How to hide/show panels.


    Hello all,
    I am trying to hide items of a panel and show others.

    Code:
    var myTabPanel = {
     ....
      items: [
         {region: 'west',
          id: 'myWest',
          hidden: true
          },{
           region: 'east',
           id: 'myEast',
           items: [new Ext.Panel({
             id: 'body-panel',
             achor: '100% 100%'
           })]
         }
    ....
    And I'm trying to:
    Code:
     handler: function(){
      var wst = Ext.getCmp('myWest');
      var est = Ext.getCmp('myEast');
    
      est.hide();
      est.doLayout();
      wst.show();
      wst.doLayout();
    (of course this is not all the code, but the parts that should matter for my question.)

    This does not have the effect I want.

    I want to do like they do on the FeedViewer example. (without all the complicated code they have)

    What is the best way to hide items and show others?

    Thanks.

  2. #2
    Sencha User
    Join Date
    Sep 2009
    Location
    Calgary, Alberta, Canada
    Posts
    638
    Vote Rating
    2
    CrazyEnigma is on a distinguished road

      0  

    Default


    collapse/expand?!?

Similar Threads

  1. Hide Tab Panels
    By Chrissu in forum Ext 2.x: Help & Discussion
    Replies: 15
    Last Post: 24 Sep 2012, 9:07 AM
  2. question on the hide panels
    By TAG in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 7 Sep 2009, 8:04 AM
  3. Show Hide Panels within a Viewport
    By Drsunno in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 5 Jun 2008, 3:47 AM
  4. element hide hide show bug
    By pomata in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 9 Dec 2006, 7:16 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi