dhx.ui.multiview
Type: Component
File:
Based on:
dhx.ui.baselayout
,
dhx.ui.baseview
,
dhx.Settings
,
dhx.Destruction
,
dhx.BaseBind
,
dhx.EventSystem
Included in:
Methods
adjust
- adjusts the component to the size of the outer parent
HTML
container
attachEvent
- attaches custom handler to inner event
back
- switches multiview to previously active view
bind
- binds components
blockEvent
- blocks event triggering
callEvent
- calls inner event
define
- sets configuration property or a hash of properties
destructor
- destructs an object
detachEvent
- detaches custom code from handler
first
- returns the ID of the first cell
getActive
- returns id of currently visible sub-view
getNode
- returns main html container of view
getParent
- returns parent object of current view
hasEvent
- checks whether a component has an event
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
mapEvent
- routes events from one object to another
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
unblockEvent
- enables event triggering
Events
Doesn't have any
Properties
animate
- defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
cells
- the array with views objects
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
on
- allows to attach custom handlers to inner events of the component
rows
- array of views arranged vertically
scroll
- enables scrolling
visibleBatch
- sets the batch that will be shown initially
width
- view width