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.
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; |