简体   繁体   中英

What ExtJS event for when click tree and tab and different panel displayed

I have a treepanel and a content area to the right, where tab panels display.

When a tree node is clicked, I show a tab panel in content area to the right, where each tab displays different info about the tab topic.

Let's say I click a tree node, then on the second tab for its tab panel in the content area to the right.

Then I click a different tree node. That newly clicked nodes tab panel now displays in the content area to the right.

What event can I listen to in order to know when the previous node's tab panel is no longer visible? Hide does not work. Deactivate does not work. Wondering how I can detect this.

至少在我看来,destroy事件确实可以解决问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM