![](https://www.icode9.com/i/l/?n=20&i=blog/367202/202108/367202-20210822114443688-1382227718.png)
让UniDBTreeGrid默认展开一级节点:
function store.nodeappend(sender, node, index, eOpts)
{
if (node.raw.depth==1) {
node.expand();
}
}
原文地址:
http://forums.unigui.com/index.php?/topic/11740-how-to-expand-unidbtreegrid-first-level-nodes-programmatically/&tab=comments#comment-62357
标签:node,index,默认,UniDBTreeGrid,节点,expand
来源: https://www.cnblogs.com/kinglandsoft/p/15171829.html