wijmo.tree.wijtree Namespace > options type : autoCheckNodes Option |
Default value: true
The autoCheckNodes option allows the sub-nodes to be checked when the parent nodes are checked. To use this option, showCheckboxes must be set to "true."
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: boolean returnsValue = $(".selector").wijtree("option", "autoCheckNodes"); // Set value var newValue; // Type: boolean $(".selector").wijtree("option", "autoCheckNodes", newValue); }); |
Javascript (Specification) | |
---|---|
var autoCheckNodes : boolean; |