Opened 11 years ago

Closed 11 years ago

#7505 closed defect (worksforme)

Specify initial selected tab in TabContainer

Reported by: David Schwartz Owned by:
Priority: high Milestone: tbd
Component: Dijit - LnF Version: 1.1.1
Keywords: ibm tab selected initial Cc:
Blocked By: Blocking:

Description

There is often the need to display a set of tabs with other than the first tab initially selected. Allow the client to specify the initial tab to be selected when the TabContainer? is displayed.

Change History (2)

comment:1 Changed 11 years ago by dante

can I mark this as invalid? It's just a matter of setting selected="selected" on the Tab you want to initially select, or am I missing something bigger here?

comment:2 Changed 11 years ago by bill

Resolution: worksforme
Status: newclosed

That's correct, and is also demonstrated in the tests, see http://download.dojotoolkit.org/release-1.1.0/dojo-release-1.1.0/dijit/tests/layout/test_TabContainer.html (first example selects Tab 2).

Note: See TracTickets for help on using tickets.