multiple

The attribute multiple can be used for the types clicktree and select. It can be true or false.
Default value is true.

multiple for type="clicktree"

When you are using the clicktree functionality, this means you can expand multiple nodes on the same level. If multiple in this case is set to false, everytime you open a node, the others in this level will collapse.

<cf_dbtree
datasource="datasource name"
table="table name"
action="get"
type="clicktree"
multiple="true" 
instancename="objectname" 
contentfield="somefield">

multiple for type="select"

In this case multiple means that you can select multiple options with the Ctrl/Apple key.

<cf_dbtree
action="get"
type="select"
datasource="datasource name"
table="table name"
multiple="true"
instancename="id and name of the select"
contentfield="column name">

 

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