Search code examples
rowsdojotabcontainer

Break dojo tabs onto multiple rows?


Is is possible to have a dijit TabContainer with tabs on more that one row instead of the default situation (where you scroll left and right to see the extra tabs)? I'm using dojo 1.8 and the claro theme.


Solution

  • I found that adding controllerWidget="dijit.layout.TabController" will break the tabs onto multiple rows:

    <div data-dojo-type="dijit/layout/TabContainer" controllerWidget="dijit.layout.TabController" doLayout="false">