开发者

Content not shifting up when Diji TitlePane collapsed

开发者 https://www.devze.com 2023-04-03 11:37 出处:网络
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

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 th开发者_运维技巧e TitlePanes. The reason I don't do that is because the TitlePanes won't expand to cover the dynamic content)


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>

0

精彩评论

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