EasyUI tree 实现点击展开/折叠

来源:互联网 发布:java基础知识书籍 编辑:程序博客网 时间:2024/06/06 20:08
$('#tt').tree( {    url : 'getTree.do',    animate: true,    onClick: function(node){        $('#tt').tree(node.state === 'closed' ? 'expand' : 'collapse', node.target);      }});

作者:itmyhome

原创粉丝点击