I am currently working on a GUI that includes a TabContainer with two tabs, each containing a different datagrid. I initially created the tabcontainer divs and datagrids declaratively in HTML for simplicity, but I am open to changing this approach if it would help solve my issue. One request I have received is to integrate an HTML Select (dijit/form/Select) inline with the tabs of the TabContainer. You can view a mockup screenshot here: https://i.sstatic.net/CVHfR.jpg. However, I am unsure if this is feasible considering how a TabContainer operates as a div. Has anyone tried something similar before? If so, how did you achieve it?
This is how the Tabcontainer is structured:
<div data-dojo-type="dijit.layout.TabContainer" style="width:964px; height: 450px;">
<div data-dojo-type="dijit.layout.ContentPane" title="Tasks" data-dojo-props="selected:true">
<table id="myDataGrid" dojoType="dojox.grid.DataGrid" style="width:964px; height: 420px; ">
<thead>
<tr>
<th field="field1" width="10%">one of many fields for datagrid</th>
</tr>
</thead>
</table>
</div>
<div data-dojo-type="dijit.layout.ContentPane" title="Workers">
Placeholder...
</div>
</div>
Any examples or guidance on integrating other dijits inline with the tabs would be greatly appreciated.