Sencha extjs4 learning
Viewport is a specialized container representing the viewable application area, to simply make a single child item occupy all available space, use fit layout, To display one “active” item at full size from a choice of several child items, use card layout.
Components may be added to a Container through the items config option at the time the Container is created, or they may be added dynamically via the add method.
* All Components are registered with the Ext.ComponentManager on construction
* Components created with an id may be accessed globally using Ext.getCmp
xtype configuration option can be used to optimize Component creation and rendering. It serves as a shortcut to the full componet name.
layout default Auto scheme Certain layout managers allow dynamic addition of child components. Those that do include Ext.layout.container.Card, Ext.layout.container.Anchor,Ext.layout.container.VBox, Ext.layout.container.HBox, and Ext.layout.container.Table.
No comments yet.