|
Title: Select the appended node in tree Post by: leela on June 30, 2014, 08:43:18 AM Hi,
I am not able to select the newly added node(appended). Please let me know how to do it. In the below code, when I add debugger to the onSelect(), the node is shown as null. Code: <ul id="menuTree" class="easyui-tree" data-options="dnd:true,animate:true,url:'<%=request.getContextPath()+Route.LIST_ROOTMENU%>', method:'GET', onSelect: function(node){openMenuForm(node);}, onDblClick: function(node){Title: Re: Select the appended node in tree Post by: jarry on June 30, 2014, 05:25:00 PM The 'select' method requires you to pass a parameter that indicates the node DOM object. Please try this:
Code: var t = $('#menuTree'); |