linkparent

This attribute is used with type="clicktree". The attribute linkparent is optional and its default value is false. If linkparent is set to true, this will take you to the url of the clicked parent-node instead of expanding it. This applies only to nodes wich have subnodes.

<cf_dbtree
datasource="datasource name"
table="table name"
action="get"
type="clicktree"
url_type="param"
url="script.cfm?id="
url_param="id"
instancename="objectname"
contentfield="table column"
titlefield="table column"
linkparent="true">

Example

 

Add your comment to this page Add Comment
Join for a free account, or login if you are already a member.