Reputation: 2913
Is there any way to have scroll bar in a dijit.TitlePane ?
Upvotes: 1
Views: 2616
Reputation: 349
TitlePane container div have dijitTitlePaneContentInner
class, so you can use it in css style:
<style>
.dijitTitlePaneContentInner {
overflow: auto;
max-height: 30em;
}
</style>
Upvotes: 1
Reputation: 4209
I had some problems with @BillKeese's answer. However, all you need to do is set overflow to auto on the titlePane itself:
<div dojoType="dijit.TitlePane" style="width:100%; height:50%; overflow: auto">
your content
</div>
Upvotes: 1
Reputation: 1931
One way is to embed a DIV with a scrollbar:
<div dojoType=dijit.TitlePane ...>
<div style="overflow: auto; height: 200px;>
...
</div>
</div>
Upvotes: 0