Wijmo UI for the Web
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
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijtree("option", "showExpandCollapse");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijtree("option", "showExpandCollapse", newValue);
        
});
Javascript (Specification) 
var showExpandCollapse : boolean;
Browser Compatibility
7
5
5

See Also

Reference

options type
wijtree jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.