开发者

How to STOP my ExtJS panel from duplicating itself

开发者 https://www.devze.com 2023-03-26 10:25 出处:网络
I have a panel \"Person\" and inside of this panel I create another panel \"Info\" with some buttons to add functionality. There is yet another panel where you can choose from a list of \"Perso开发者_

I have a panel "Person" and inside of this panel I create another panel "Info" with some buttons to add functionality. There is yet another panel where you can choose from a list of "Perso开发者_开发知识库n"'s. My problem is that when you select another "Person" from the overView panel that my "Info" button gets duplicated. So if you have clicked on 6 different "Person"'s that browser session, then you will have 6 different "Info" Panels within "Person".

Any suggestions will be helpful.


What I usually do for a page with multiple selections is put the panel that gets recreated in a window. Then when you need to create another panel of the same type, you make a new window. Therefore you don't need to clear out the previous window.

0

精彩评论

暂无评论...
验证码 换一张
取 消