1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    11
    Vote Rating
    1
    gabrialice is on a distinguished road

      0  

    Default different TreePanel alternatively in the same place

    different TreePanel alternatively in the same place


    Hi everybody!
    I'm building a desktop application using EXTJs 3.4. I have a window with border layout which is splitted into two sections: at the left there is a TreePanel, at the right a TabPanel. In the left side I need to visualize two different TreePanel objects (containing different elements) depending on different situations. I have put both tree panel as items in desktop window:

    winModul0=desktop.createWindow({
    id:id,iconCls:appIco,title:'MAIN App',width:800,height:566,
    shim:false,animCollapse:false,layout:'border',
    constrainHeader:true,defaults:{split:true,border:true},
    items:[trElems,trSearchRes,tpElems]
    })

    where trElems and trSearchRes are the two TreePanels that I want to visualize alternatively.
    Then I put SetVisible(true) or SetVisible(false) of the the trees dipending on the situation but it's not working because noone of the two trees is visualized.
    How can I do this otherwise?

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    This is the ExtJs 4 forum, you should post this in the ExtJs 3 forum. But you could try to play with the hideMode property and set an other mode.

    And just start with the situation where the two trees are visible. Then you know they are properly rendered.

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