$root.$iremoteforms.REMOTEFORM.$objs.tree

Parent: $root.$iremoteforms.REMOTEFORM.$objs

Class notation

Properties

Warning: with the exception of $componentctrl, $componentlib, $ident, $name and $objtype, the values of properties can only be read in client methods.

Object specific
$checkbox If true, and $multipleselect is also true, the tree control has checkboxes that can be used to select nodes. Cannot be set to true when using $datamode kJSTreeDynamicLoad
$currentnodeident Only applies to trees with $datamode kJSTreeDynamicLoad. The ident of the current node in the tree
$datamode The mode for the list data specified via the data name;one of the kJSTreeFlatList... constants or kJSTreeDynamicLoad
kJSTreeDynamicLoad kJSTreeFlatList kJSTreeFlatListOld kJSTreeFlatListOldWithTags kJSTreeFlatListWithTags
$disabledefaultcontextmenu If true, the default context menu for the object will not be generated in response to a context click ($clib.$disabledefaultcontextmenu and $cobj.$disabledefaultcontextmenu must both be false for the menu to be generated)
$extraspace A number of pixels (>= 0). If $extraspace is zero, the height of each row is the default height of the row content. If $extraspace is greater than zero, the height of each row is increased by $extraspace
$iconurlprefix This property is only present for backwards compatibility. Icons are now specified by a character column in the list data which contains the return value of the server function iconurl()
$multipleselect If true, the field allows the user to select more than one line
$nodeaction Only applies to trees with $datamode kJSTreeDynamicLoad.Assignrow(
kJSTreeAction...,ident[,params]) to perform an action on the tree node.See the constant description for details of any action specific parameters
$nodedata Can only be set, only applies when processing evLoadNode. Node content list: Text, Node icon (line number in $nodeiconlist; zero for no icon), Ident, Tag, Tooltip, Text color, Flags (sum of kJSTreeFlag... values), Children (nested list, same definition)
$nodeiconlist The name of a single column instance variable list containing the list of icon URLs that can be used for node icons in the node data when using $datamode kJSTreeDynamicLoad. Generate icon URLs from icon ids using the iconurl() function
$selectedlinecolor The color used to display selected lines. Use kColorDefault for the default color defined in omnis.css
$selectedlinetextcolor The text color used for selected lines. Use kColorDefault for the default color defined in omnis.css
$showicons If true, the tree control shows node icons
$showlines If true, the tree control displays dotted lines connecting nodes
$twostate If true, and the tree control has checkboxes (see $checkbox), selection of each node is independent
Standard $alpha $autoscroll $backalpha $backcolor $bordercolor $componentctrl $componentlib $contextmenu $cssclassname $dataname $disablesystemfocus $dragborder $edgefloat $effect $enabled $errortext $errortextpos $events $fieldstyle $font $fontsize $fontstyle $height $horzscroll $ident $left $linestyle $name $objtype $order $textcolor $tooltip $top $userinfo $vertscroll $visible $width

Events

Object specific
evCollapseNode

The user has collapsed a node
Parameters

pEventCode The event code
pNodeIdent The id of the node
pNodeTag The tag of the node
evLoadNode

When using $datamode kJSTreeDynamicLoad, generated so that you can set the content of the node by setting property $nodedata.For other $datamodes,generated when the user expands a tree node
Parameters

pEventCode The event code
pNodeIdent The id of the node
pNodeTag The tag of the node
evRenamed

The user has entered a new name for the node
Parameters

pEventCode The event code
pNodeIdent The id of the node
pNodeTag The tag of the node
pOldName The old node name
pNewName The new node name
Standard evBefore evClick evDoubleClick evDragBorder evExecuteContextMenu evOpenContextMenu