Wijmo UI for the Web
autoCollapse Option
wijmo.tree.wijtree Namespace > options type : autoCollapse Option

Default value: false

If this option is set to true, the expanded node will be collapsed if another node is expanded.

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

Reference

options type
wijtree jQuery Widget