![]() |
WebObjectTree for PHP
|
Client-side JavaScript functions implemented by WebObjectTree.
See also Client-Side Events.
JavaScript Functions |
|
function | cwotAppendKeyValue (sourcePath, keyString, valueString) |
Appends a new key/value pair to the end of the path string. More... | |
function | cwotClearChildren (controlId, clearPath) |
Removes the children from an item in the WebObjectTree control. More... | |
function | cwotExpandItem (controlId, expandPath, expandState) |
Sets the expanded state of an item in the WebObjectTree control. More... | |
function | cwotExtractKeys (sourcePath) |
Extracts the key portion(s) of a path that contains key/value pair(s). More... | |
function | cwotExtractValues (sourcePath) |
Extracts the value portion(s) of a path that contains key/value pair(s). More... | |
function | cwotGetCustomData (controlId) |
Gets the custom tree data that is persisted during postbacks. More... | |
function | cwotGetFullPath (controlId) |
Gets the current full path selected in the WebObjectTree control. More... | |
function | cwotInitializeControl (controlId, controlSettings, controlData) |
Initializes a new WebObjectTree instance with the specified control settings and data. More... | |
function | cwotProcessResponse (controlId, responseData) |
Processes the response from a request to retrieve information for an expanded item object. More... | |
function | cwotRenameItem (controlId, renamePath, newValue) |
Renames an item in the WebObjectTree control. More... | |
function | cwotSetCustomData (controlId, customData) |
Sets the custom tree data that is persisted during postbacks. More... | |
function | cwotSetFocus (controlId, beginEdit) |
Sets the keyboard focus to the WebObjectTree control. More... | |
function | cwotSetFullPath (controlId, fullPath) |
Sets the current full path selected in the WebObjectTree control. More... | |
function | cwotSetHeight (controlId, height) |
Sets the height of the WebObjectTree control. More... | |
function | cwotSetWidth (controlId, width) |
Sets the width of the WebObjectTree control. More... | |
function | cwotUninitializeControl (controlId) |
Uninitializes the specified WebObjectTree control instance. More... | |
|
inline |
Appends a new key/value pair to the end of the path string.
sourcePath | The source path to append the new key/value pair. |
keyString | The new key string to append to the end of the path. |
valueString | The new value string to append to the end of the path. |
|
inline |
Removes the children from an item in the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
clearPath | The full path of the target item in the WebObjectTree control. |
|
inline |
Sets the expanded state of an item in the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
expandPath | The full path of the target item in the WebObjectTree control. |
expandState | A boolean value that indicates the expanded (true) or collapsed (false) state. |
|
inline |
Extracts the key portion(s) of a path that contains key/value pair(s).
sourcePath | The source path that contains some key/value pair(s). |
|
inline |
Extracts the value portion(s) of a path that contains key/value pair(s).
sourcePath | The source path that contains some key/value pair(s). |
|
inline |
Gets the custom tree data that is persisted during postbacks.
controlId | The control identifier of the WebObjectTree instance. |
|
inline |
Gets the current full path selected in the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
|
inline |
Initializes a new WebObjectTree instance with the specified control settings and data.
controlId | The control identifier of the WebObjectTree instance. |
controlSettings | The control settings as a JSON string or JavaScript object. |
controlData | The control data as a JSON string or JavaScript object, or null to load on demand. |
|
inline |
Processes the response from a request to retrieve information for an expanded item object.
controlId | The control identifier of the WebObjectTree instance. |
responseData | The children item information as a JSON string or JavaScript object, or null to indicate the information could not be retrieved. |
|
inline |
Renames an item in the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
renamePath | The full path of the target item in the WebObjectTree control. |
newValue | The new text string value for the item object. |
|
inline |
Sets the custom tree data that is persisted during postbacks.
controlId | The control identifier of the WebObjectTree instance. |
customData | The custom data that can be used to dynamically populate the children items. |
|
inline |
Sets the keyboard focus to the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
beginEdit | A boolean value whether to begin an item edit operation. |
|
inline |
Sets the current full path selected in the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
fullPath | The current full path selected in the WebObjectTree control. |
|
inline |
Sets the height of the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
height | The height of the control in pixels (without the "px" suffix). |
|
inline |
Sets the width of the WebObjectTree control.
controlId | The control identifier of the WebObjectTree instance. |
width | The width of the control in pixels (without the "px" suffix). |
|
inline |
Uninitializes the specified WebObjectTree control instance.
controlId | The control identifier of the WebObjectTree instance. |