DataValue

View-less object that stores a single value.

Methods
attachEvent attaches the handler to an inner event of the component
bind binds components
blockEvent temporarily blocks triggering of ALL events of the calling object
callEvent calls an inner event
detachEvent detaches a handler from an event (which was attached before by the attachEvent method)
getValue returns the current value of the component
hasEvent checks whether the component has the specified event
isVisible returns true if current view is visible
mapEvent routes events from one object to another
refresh repaints the component
setValue sets a new value for the component
unbind breaks "bind" link
unblockEvent cancels events blocking that was enabled by the 'blockEvent' command
Events
onBindRequest fires when the component is ready to receive data from the master component
onChange fires when the user changes the value of the DataValue object
Properties
id the component ID
on allows attaching custom handlers to inner events of the component
value sets the initial value for a control
Other
name indicates the name of the component (a read-only property)
Back to top