Wijmo UI for the Web
autoCollapse Option

Default value: false

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

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijtree("option", "autoCollapse");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijtree("option", "autoCollapse", newValue);
        
});
Javascript (Specification) 
var autoCollapse : boolean;
Browser Compatibility
7
5
5

See Also

Reference

options type
wijtree jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.