Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ZENTest.DynaTreeTest

class ZENTest.DynaTreeTest extends %ZEN.Component.page

dynaTree Control Test

Method Inventory

Parameters

parameter APPLICATION = ZENTest.TestApplication;
Application this page belongs to.
parameter DOMAIN = ZENTEST;
Domain used for localization.
parameter PAGENAME = Dynamic Tree Control Test Page;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.

Methods

classmethod GetClassInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status
Sample of a OnGetTreeInfo callback. This one recursively loads the set of visible packages and classes in the current namespace.
classmethod GetTimeInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status
Sample of a OnGetTreeInfo callback.
classmethod GetTreeInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status
Sample of a OnGetTreeInfo callback.
classmethod ReallySetTreeCallback(pTree As %ZEN.Component.dynaTree, pMethod As %String) [ ZenMethod ]
tree.setProperty('OnGetTreeInfo',code); is not allowed. This property must be set server-side. Rather than blindly accepting any value, we validate the property name against a list of permitted values.
clientmethod getNodeParent() [ Language = javascript ]
Show the index of the parent node of the current node.
clientmethod reloadNode() [ Language = javascript ]
Reload a node within the tree.
clientmethod setNodeStyle() [ Language = javascript ]
Change the style of the current node in the tree.
clientmethod setNodeText() [ Language = javascript ]
Change the text of the current node in the tree.
clientmethod setTreeCallback(code) [ Language = javascript ]
Change the callback for the tree
clientmethod treeClick(tree) [ Language = javascript ]
treeClick
clientmethod treeContract(tree) [ Language = javascript ]
contract the tree
clientmethod treeExpand(tree) [ Language = javascript ]
expand the tree
clientmethod treeLines() [ Language = javascript ]
Change the showLines property for the tree

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab