Wijmo UI for the Web
allowSorting Option

Default value: true

The allowSorting option allows the tree nodes to be sorted at run time when the user presses the "s" key.

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

See Also

Reference

options type
wijtree jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.