tuskar-ui/docs/source/ref/tabs.rst
Gabriel Hurley e02c442c86 Adds support for tabs + tables.
Creates new TableTab and TabbedTableView classes to support
the complex logic involved in processing both table and tab
actions in a single view.

Fixes bug 964214.

Change-Id: I3f70d77975593773bf783d31de06d2b724aad2d5
2012-03-24 16:14:33 -07:00

978 B

Horizon Tabs and TabGroups

horizon.tabs

Horizon includes a set of reusable components for programmatically building tabbed interfaces with fancy features like dynamic AJAX loading and nearly effortless templating and styling.

Tab Groups

For any tabbed interface, your fundamental element is the tab group which contains all your tabs. This class provides a dead-simple API for building tab groups and encapsulates all the necessary logic behind the scenes.

TabGroup

Tabs

The tab itself is the discrete unit for a tab group, representing one view of data.

Tab

TableTab

TabView

There is also a useful and simple generic class-based view for handling the display of a ~horizon.tabs.TabGroup class.

TabView

TabbedTableView