Bases: horizon.views.HorizonTemplateView
A generic class-based view for displaying a horizon.tabs.TabGroup.
This view handles selecting specific tabs and deals with AJAX requests gracefully.
The only required attribute for TabView. It should be a class which inherits from horizon.tabs.TabGroup.
Adds the tab_group variable to the context data.
Returns the initialized tab group for this view.
Sends back an AJAX-appropriate response for the tab group if required, otherwise renders the response as normal.
Bases: horizon.tables.views.MultiTableMixin, horizon.tabs.views.TabView
A no-op on this class. Tables are handled at the tab level.
For the given dict containing a DataTable and a TableTab instance, it loads the table data for that tab and calls the table’s maybe_handle() method. The return value will be the result of maybe_handle.
Loads the tab group, and compiles the table instances for each table attached to any horizon.tabs.TableTab instances on the tab group. This step is necessary before processing any tab or table actions.