Wijmo UI for the Web
allowDrag Option

Default value: false

When the allowDrag option is set to true, the tree nodes can be dragged.

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

See Also

Reference

options type
wijtree jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.