estesbubba
6 Dec 2010, 9:44 AM
I have a menu implemented as an Ext.List which is shared by all the cards of my application. When a card is requested, the controller checks to see if it exists. If it does it sets the active item. If it doesn't, it creates it and sets the active item. Each card's items look like:
items: [content, sharedMenu]
The first time in it works great. The second time it appears the sharedMenu has been removed from the items but content is still there. Does a List automatically remove itself from the parent's items when selected? I've been playing around with all kinds of properties with no luck. I can re-add the menu each time but that seems like a hack.
items: [content, sharedMenu]
The first time in it works great. The second time it appears the sharedMenu has been removed from the items but content is still there. Does a List automatically remove itself from the parent's items when selected? I've been playing around with all kinds of properties with no luck. I can re-add the menu each time but that seems like a hack.