开发者

Content not shifting up when Diji TitlePane collapsed

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜