Newbie question.
Not having much trouble creating a TabContainer based on examples I saw, but am having difficulty figuring out how to change the tab text (ContentPane title) dynamically. Something to do with attr or AttributeMap I'm guessing, but seem to be hitting all around the mark.
tabcontainer
Title text in Contentpane
TabContainer Labels not rendering when created programatically
When I create a TabContainer programmatically, the labels are not rendering (I can inspect the html node and the labels tag has nothing in it)
Does anyone have any ideas what I might be doing wrong here?
dojo.require("dojo.parser");
dojo.require("dijit.form.CheckBox");
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.layout.TabContainer");
dojo.require("dijit.form.Button");
function clickme()
{
problem AccordionContainer misbehaving inside TabContainer
Hi guys,
I'm using Dojo 1.2 and I'm running into the following problem...
I've created a templated custom widget which contains an AccordionContainer. I'm trying to add this custom widget (programmatically) as a child of an existing TabContainer. However when i do this, the AccordionContainer doesn't work properly i.e. you cannot see the contents in the AccordionPane's
Here is some simple code as an example. Any thoughts or alternate solutions?
All in all i need to programatically add the widget containing the AccordionContainer to the TabContainer.
thanks in advance
- Login or register to post comments
- Read more
- Subscribe post
TabContainer Demo
Please take a look at this demo:
http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/layout/te...
Why the div (id: mainTabContainer_tablist) extends to the width of the container?
I believe the width of the tablist node should be narrower.
It should end right after the tab named 'SplitContainer from href'.
Help with TabContainer - New to Dojo
Hi there
I am very new to Dojo & Dijit & would appreciate help.
I need to build a page with a few tabs, pref. defined in an XML. Could someone point me/share some how-to & examples.
Thanks in advance.
Puneet
Tabs don't all fit in TabContainer (need scroll bar)
Hello fellow Dojo'ers,
I have put together a simple test case of a problem I am having. Essentially I have a set of tabs that are located on the left side and are stacked vertically, using the tabPosition="left-h" parameter of a TabContainer. Everything is fine until I have more tabs than I have height of the container itself. All of the tabs are there but there is no way to view the tabs below the height of the container.
I added a set of up down arrows and i can change through every tab but once I get beyond tab 16, out of 22, I can't see that it's selected anymore.
Drag and Drop Tabs - Are they possible?
Hi,
I've been trying to implement drag and drop tabs but have had no success.
I have managed to set the TabContainer as a Source and apply the dojoDndItem class to each tab but this has no effect. I've implemented drag and drop many times before and had no problems so why doesn't it work for the TabContainer?
Is it possible to have drag and drop tabs?
In my initial investigation I was only aiming to move the tabs and not their associated content. My intention is to move the content once the tabs themselves are dnd enabled.
Here is my code:
- Login or register to post comments
- Read more
- Subscribe post
multiple tabs, same content
Hi,
I am new to dojo and web development. I was wondering if it is possible to set up a TabContainer which holds several tabs, but i want each tab to function like a standard button, and point to the same content in all three tabs. In other words, I would like to run a specific JavaScript function on the same content in all three tabs, but I want it to be the same content. Is this possible? Thanks!
- Login or register to post comments
- Unsubscribe post
scrollbar partially hidden by a right ContentPane in a TabContainer (using windget declaration)
Hello,
here is my html/dojo source file :
(I made it as simple as possible, for the example)
bad rendered
@import "dojotk/dojo/resources/dojo.css";
@import "dojotk/dijit/themes/soria/soria.css";
dojo.require("dojo.parser");
dojo.require("dijit.Declaration");
dojo.require("dijit.layout.BorderContainer");
- Login or register to post comments
- Read more
- Unsubscribe post
TabContainer tabs overlapping pane until refresh
From a fresh load of my page the tabs overlap the pane. Once I click refresh, everything looks normal.
I am using left-h as the tabPosition and the contentpane is wider than it should be overlapping with the tabs.
The dijitTabPaneWrapper div from a fresh load has a width of 504 and becomes 486 after I reload the browser. Where is this 20px coming from that doesn't happen after a page reload? :)
- Login or register to post comments
- Subscribe post
