dhx.ui.layout
Type: Component
File:
Based on:
dhx.ui.baselayout
,
dhx.ui.baseview
,
dhx.Settings
,
dhx.Destruction
,
dhx.BaseBind
Included in:
dhx.ui.accordion
Methods
adjust
- adjusts the component to the size of the outer parent
HTML
container
bind
- binds components
define
- sets configuration property or a hash of properties
destructor
- destructs an object
first
- returns the ID of the first cell
getNode
- returns main html container of view
getParent
- returns parent object of current view
hide
- hides view
index
- returns an index of the currently selected view (index in the array of views)
isVisible
- returns true if current view is visible
reconstruct
- rebuilds layout
resize
- adjusts view to the new size
resizeChildren
- resizes children of the calling component
show
- makes view visible
showBatch
- makes visible elements which parameter 'batch' is set to the specified name
Events
Doesn't have any
Properties
animate
- defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
cols
- array of views arranged horizontally
container
- html container or its id where view needs initializing
css
- class name for view container
gravity
- view gravity (1 by default)
height
- view height
hidden
- sets whether a view will be hidden initially
id
- view id
rows
- array of views arranged vertically
scroll
- enables scrolling
type
- defines border of layout
visibleBatch
- sets the batch that will be shown initially
width
- view width