Wijmo UI for the Web
allowTriState Option

Default value: true

The allowTriState option allows the tree nodes to exhibit triState behavior. This lets the node checkboxes be checked, unchecked, or indeterminate. This option must be used with the showCheckBoxes option.

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

See Also

Reference

options type
wijtree jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.