Question

Quite simple really.

I have two ContentPanes that I load content into dynamically. The content I load dynamically contains TitlePanes. When I collapse these TitlePanes the content below the TitlePane does not shift up.

(you may ask why I don't load the content into ContentPanes INSIDE the TitlePanes. The reason I don't do that is because the TitlePanes won't expand to cover the dynamic content)

Was it helpful?

Solution

The answer for this can be found here. All you need to do apperently is add doLayout="false

<div dojoType="dijit.layout.ContentPane" id="..." splitter="false" doLayout="false"></div>

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top