Wijmo UI for the Web
autoCheckNodes Option
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."

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijtree("option", "autoCheckNodes");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijtree("option", "autoCheckNodes", newValue);
        
});
var autoCheckNodes : boolean;
See Also

Reference

options type
wijtree jQuery Widget