Wijmo UI for the Web
allowSorting Option
wijmo.tree.wijtree Namespace > options type : 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
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijtree("option", "allowSorting");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijtree("option", "allowSorting", newValue);
        
});
var allowSorting : boolean;
See Also

Reference

options type
wijtree jQuery Widget