WebDrillDown for JSP
Client-Side Events

Client-side JavaScript functions called by WebDrillDown.

See also Client-Side Methods.

JavaScript Functions

function cwddOnApplyStyle (controlId, classNames, buttonIndex, itemHint)
 Occurs when applying Cascading Style Sheets (CSS) class names to an element within the control. More...
 
function cwddOnBeginRequest (controlId, requestPath)
 Occurs when the WebDrillDown control requires information for a popup object. More...
 
function cwddOnDataRetrievalBegin (controlId)
 Occurs when the WebDrillDown control starts retrieving popup information. More...
 
function cwddOnDataRetrievalEnd (controlId)
 Occurs when the WebDrillDown control stops retrieving popup information. More...
 
function cwddOnDataRetrievalError (controlId, statusCode, statusText)
 Occurs when the WebDrillDown control encounters an error retrieving popup information. More...
 
function cwddOnSelectionChange (controlId, selectedIndex, selectedValue)
 Occurs when the user changes the current button selected. More...
 
function cwddOnShowPopup (controlId, popupSettings)
 Occurs when the user displays a popup menu. More...
 
function cwddOnValueChange (controlId, selectedIndex, selectedValue)
 Occurs when the user changes the current button value. More...
 

Function Documentation

function cwddOnApplyStyle ( controlId, classNames, buttonIndex, itemHint )
inline

Occurs when applying Cascading Style Sheets (CSS) class names to an element within the control.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
classNamesThe current array of CSS class names being applied to the element.
buttonIndexThe zero-based index of the parent button, or -1 if not applicable.
itemHintThe user-defined style hint for this item, or null if not applicable or available.
Returns
None.
function cwddOnBeginRequest ( controlId, requestPath )
inline

Occurs when the WebDrillDown control requires information for a popup object.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
requestPathThe path to the data required for the popup object.
Returns
The popup information as a JSON string or JavaScript object, or null to asynchronously return the data through the cwddProcessResponse method.
function cwddOnDataRetrievalBegin ( controlId )
inline

Occurs when the WebDrillDown control starts retrieving popup information.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
Returns
None.
function cwddOnDataRetrievalEnd ( controlId )
inline

Occurs when the WebDrillDown control stops retrieving popup information.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
Returns
None.
function cwddOnDataRetrievalError ( controlId, statusCode, statusText )
inline

Occurs when the WebDrillDown control encounters an error retrieving popup information.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
statusCodeThe status code returned when retrieving popup information.
statusTextThe status description returned when retrieving popup information.
Returns
None.
function cwddOnSelectionChange ( controlId, selectedIndex, selectedValue )
inline

Occurs when the user changes the current button selected.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
selectedIndexThe zero-based index of the button being selected.
selectedValueThe current value for the button being selected.
Returns
None.
function cwddOnShowPopup ( controlId, popupSettings )
inline

Occurs when the user displays a popup menu.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
popupSettingsThe computed settings for the popup menu (left, top and minWidth).
Returns
None.
function cwddOnValueChange ( controlId, selectedIndex, selectedValue )
inline

Occurs when the user changes the current button value.

Parameters
controlIdThe control identifier of the WebDrillDown instance.
selectedIndexThe zero-based index of the button being changed.
selectedValueThe new value for the button being changed.
Returns
None.

The documentation for this class was generated from the following file: