AnsweredAssumed Answered

Creating Tabs in widget.html file

Question asked by timw1984 Champion on Feb 24, 2015
Latest reply on Mar 5, 2017 by rscheitlin

Hey everybody,

 

I am trying to create tabs in my widget.html files but can't seem to get it to work. Did anybody have any success with this?

 

I want it to look like this

<div data-dojo-type="dijit/layout/TabContainer" style="width: 100%; height: 100%;">

   <div data-dojo-type="dijit/layout/ContentPane" title="My first tab" data-dojo-props="selected:true">

     Text here

   </div>

   <div data-dojo-type="dijit/layout/ContentPane" title="My second tab">

       Text here

   </div>

   <div data-dojo-type="dijit/layout/ContentPane" title="My last tab" >

       Text here

   </div>

   </div>

 

 

Thanks,

 

Tim

Outcomes