Object specific | |
$borderradius | Radius 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 |
$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 |
$checkboxcolor | The color of checkboxes in the tree |
$currentnodeident | 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) |
$entertodoubleclick | If true, the Enter key will fire a double-click event. In this case, space can be used to fire a single-click |
$evenrowcolor | The background color of even numbered displayed rows. kColorDefault means use the same color as odd numbered rows ($backcolor) |
$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 |
$hiliteline | If true, the object highlights lines during drag and drop |
$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() |
$keyboardchangesline | If true, the current line is changed on keyboard navigation keys. If false, moves a focused line state on keyboard navigation. |
$lineborder | If true, the border between lines is shown |
$linebordercolor | The color used for the border between lines, if kColorDefault, $bordercolor value is used |
$multipleselect | If true, the field allows the user to select more than one line |
$nodeaction | Only 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 |
$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 |
$rightclicksetsline | If true, right clicking on a line sets the current line in the list |
$selectedlinecolor | The color used to display selected lines |
$selectedlinetextcolor | The text color used for selected lines |
$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 | $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 |
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 |
|
evExpandNode | The user has expanded 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 |
|
evWillHide | Sent to a field before it is hidden. Currently only used when the field is set as a side panel Parameters
|
evWillShow | Sent to a field before it becomes visible. Currently only used when the field is set as a side panel Parameters
|
Standard | evBefore evCanDrop evClick evDoubleClick evDrag evDragBorder evDragFinished evDrop evExecuteContextMenu evHidden evOpenContextMenu evShown evWillDrop |