Checkboxes
configurationIf true or an object, renders checkboxes beside each node.
checkboxes
Boolean|ObjectDefault: false
checkboxes.checkChildren
BooleanIndicates whether checkboxes of child items should get checked when the checkbox of a parent item is checked. This also enables tri-state checkboxes with an indeterminate state.
Default: false
checkboxes.name
StringSets the name attribute of the checkbox inputs. That name will be posted to the server.
checkboxes.template
String|FunctionThe template which renders the checkboxes. Can be used to allow posting of additional information along the TreeView checkboxes.
The fields which can be used in the template are:
- item - the data item of the given node
- treeview - the TreeView options