different TreePanel alternatively in the same place
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:
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?
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.