jQuery MiniUI
标题:
outlooktree的expandPath问题
[打印本页]
作者:
pvfhv
时间:
2013-9-23 17:39:00
标题:
outlooktree的expandPath问题
<div id="outlooktree" class="mini-outlooktree" url="../../demo/data/outlooktree.txt" style="width:200px; height:400px;"></div>
<a class="mini-button" onclick="expandPath()">展开节点</a>
<script type="text/javascript">
mini.parse();
function expandPath() {
var node = outlooktree.getSelected();
outlooktree.expandPath(node);
}
</script>
如上所示代码,expandPath方法不起效,请检查一下!!
作者:
factory
时间:
2013-9-24 09:28:46
http://www.miniui.com/demo/outlooktree/outlooktree.html
点右上角的 快捷按钮,就是展开节点路径
你的代码我也测试过了,没问题
var node = o.getSelected();
o.expandPath(node);
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2