I have an asynchronous easyui tree,in which a function is called on click of each node. When a node is clicked,data corresponding to that node will be populated.I want to prevent the click of another node,while data is being populated for one node. This is my code for tree:
<ul id="jqueryTree" class="easyui-tree" data-options="animate:true,lines:true">
</ul>
$('#jqueryTree').tree({
onClick: function(node){
populateData(node.id);
}
});
And I tried like this:
$('#jqueryTree').off('click');
$('#jqueryTree').on('click');
But no luck :(