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

Default value: true

The showExpandCollapse option determines if the tree is displayed in an expanded or collapsed state. If set to "false," then the wijtree widget will be displayed in the expanded state.

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

Reference

options type
wijtree jQuery Widget