dhx.ui.select
Type: Component
File:
Based on:
dhx.ui.text
,
dhx.ui.button
,
dhx.ui.view
,
dhx.ui.baseview
,
dhx.Settings
,
dhx.Destruction
,
dhx.BaseBind
,
dhx.AtomRender
,
dhx.Settings
,
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
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
focus
- moves focus to the input
getInput
- returns input html object
getNode
- returns main html container of view
getParent
- returns parent object of current view
getValue
- returns current value
hasEvent
- checks whether a component has an event
hide
- hides view
isVisible
- returns true if current view is visible
mapEvent
- routes events from one object to another
refresh
- repaints input
render
- renders a single item
resize
- adjusts view to the new size
setValue
- sets a new value for the button
show
- makes view visible
unblockEvent
- enables event triggering
Events
onafterrender
- fires after view was rendered
onbeforerender
- fires before view rendering is initiated
onchange
- occurs when the value of a button changes.
Properties
animate
- defines animation on view change (object with direction, type and subtype properties) or disables animation (false)
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
inputHeight
- the height of the control
inputWidth
- the width of control.
labelWidth
- width of label
label
- text label of control
on
- allows to attach custom handlers to inner events of the component
popup
- allows to attach pop-up menu to the button
scroll
- enables scrolling
template
- item template
type
- type of control
value
- sets the value of the control
width
- view width