Properties Methods Events Config Options Direct Link

# Class Ext.layout.ContainerLayout

Package: | Ext.layout
Defined In: | ContainerLayout.js
Class: | ContainerLayout
Subclasses: | AnchorLayout, BorderLayout, ColumnLayout, FitLayout, TableLayout
Extends: | Object

Every Container delegates the rendering of its child Components to a layout manager class which must be configured into the Container.

Some layouts also provide sizing and positioning of child Components.

The ContainerLayout class is the default layout manager used when no layout is configured into a Container. It provides the basic foundation for all other layout classes in Ext. It simply renders all child Components into the Container, performing no sizing or positioning services.

This class is intended to be extended and should generally not need to be created directly via the new keyword.

## Config Options

Config Options | Defined By
--- | ---
| extraCls : String An optional extra CSS class that will be added to the container (defaults to ''). This can be useful for adding custo... An optional extra CSS class that will be added to the container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules. | ContainerLayout
| renderHidden : Boolean True to hide each contained item on render (defaults to false). | ContainerLayout

## Public Properties

Property | Defined By
--- | ---
| activeItem : Ext.Component A reference to the Ext.Component that is active. For example, if(myPanel.layout.activeItem.id == 'item-1') { ... }.... A reference to the Ext.Component that is active. For example, if(myPanel.layout.activeItem.id == 'item-1') { ... }. activeItem only applies to layout styles that can display items one at a time (like Ext.layout.Accordion, Ext.layout.CardLayout and Ext.layout.FitLayout). Read-only. Related to Ext.Container.activeItem. | ContainerLayout

## Public Methods

This class has no public methods.

## Public Events

This class has no public events.