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

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

Class notation

Properties Methods Events 

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 
$borderradiusRadius for rounded border corners.1 to 4 pixel values separated by -,in order topleft,topright,bottomright,bottomleft.If bottomleft is omitted it is topright.If bottomright is omitted it is topleft.If topright is omitted it is topleft
$checkboxIf 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
$checkboxcolorThe color of checkboxes in the tree
$currentnodeidentThe ident of the current node in the tree
$datamodeThe mode for the list data specified via the data name;one of the kJSTreeFlatList... constants or kJSTreeDynamicLoad
kJSTreeDynamicLoad kJSTreeFlatList kJSTreeFlatListOld kJSTreeFlatListOldWithTags kJSTreeFlatListWithTags
$disabledefaultcontextmenuIf 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)
$entertodoubleclickIf true, the Enter key will fire a double-click event. In this case, space can be used to fire a single-click
$evenrowcolorThe background color of even numbered displayed rows. kColorDefault means use the same color as odd numbered rows ($backcolor)
$extraspaceA 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
$hilitelineIf true, the object highlights lines during drag and drop
$iconurlprefixThis 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()
$keyboardchangeslineIf true, the current line is changed on keyboard navigation keys. If false, moves a focused line state on keyboard navigation.
$lineborderIf true, the border between lines is shown
$linebordercolorThe color used for the border between lines, if kColorDefault, $bordercolor value is used
$multipleselectIf true, the field allows the user to select more than one line
$nodeactionOnly applies to trees with $datamode kJSTreeDynamicLoad.Assign row(kJSTreeAction...,ident[,params]) to perform an action on the tree node.See the constant description for details of any action specific parameters
$nodedataCan 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)
$nodeiconlistThe 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
$rightclicksetslineIf true, right clicking on a line sets the current line in the list
$selectedlinecolorThe color used to display selected lines
$selectedlinetextcolorThe text color used for selected lines
$showiconsIf true,the tree control shows node icons
$showlinesIf true,the tree control displays dotted lines connecting nodes
$twostateIf true,and the tree control has checkboxes (see $checkbox),selection of each node is independent
Standard$active $alpha $ariadescribedby $arialabel $arialabelledby $autoscroll $backalpha $backcolor $bordercolor $componentctrl $componentinfo $componentlib $contextmenu $cssclassname $dataname $defaultdisabledappearance $defaultinactiveappearance $disablesystemfocus $dragborder $dragmode $dropmode $edgefloat $effect $enabled $errortext $errortextpos $events $fieldstyle $font $fontsize $fontstyle $height $horzscroll $ident $left $linestyle $name $nexttabobject $objtype $order $preventlayoutanimation $removefromtaborder $sidepanel $sidepanelmode $textcolor $tooltip $top $userinfo $vertscroll $visible $visibleinbreakpoint $width

Methods

$showpanel$showpanel(iAction[,iMode=kSidePanelModeAuto]) executes kSidePanelAction... on a side panel object. iMode only applies to kSidePanelActionShow,and must be kSidePanelModeCover/Push/Auto. For JS client,$showpanel must be executed on the client

Events

Object specific 
evCollapseNodeThe user has collapsed a node
Parameters
pEventCodeThe event code
pNodeIdentThe id of the node
pNodeTagThe tag of the node
evExpandNodeThe user has expanded a node
Parameters
pEventCodeThe event code
pNodeIdentThe id of the node
pNodeTagThe tag of the node
evLoadNodeWhen 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
pEventCodeThe event code
pNodeIdentThe id of the node
pNodeTagThe tag of the node
evRenamedThe user has entered a new name for the node
Parameters
pEventCodeThe event code
pNodeIdentThe id of the node
pNodeTagThe tag of the node
pOldNameThe old node name
pNewNameThe new node name
evWillHideSent to a field before it is hidden. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
evWillShowSent to a field before it becomes visible. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
StandardevBefore evCanDrop evClick evDoubleClick evDrag evDragBorder evDragFinished evDrop evExecuteContextMenu evHidden evOpenContextMenu evShown evWillDrop

Children

Top 

$methods