<div id="mm" class="easyui-menu" style="width: 120px;">
<div onclick="append()" iconcls="icon-add">
添加节点
</div>
<div onclick="removerrr()" iconcls="icon-remove">
删除节点
</div>
<div onclick="update()" iconcls="icon-edit">
修改节点
</div>
</div>
onContextMenu: function(e,node){
e.preventDefault();
$(this).treegrid(‘select‘,node.target);
$(‘#mm‘).menu(‘show‘,{
left:e.pageX,
top: e.pageY
});
}
时间: 2024-11-05 14:59:16