Hi all,

I'm trying to make a variation on the out-of-the-box ContentPanel expand and collapse functions. What I want is the collapsed state to actually hold a component and not collapse all the way through (just to the title). In essence, I'm looking for a content panel with two internal components, one large (all data) and one small (summary data), and the expand/collapse button to switch between them.

I'm currently imitating this by listening to collapse events, changing the internal panel and expanding back, but it looks strange when the panel collapses then expands and not quite what I want.

Anyone has any idea how to do this?