其他分享
首页 > 其他分享> > 默认让UniDBTreeGrid展开一级节点

默认让UniDBTreeGrid展开一级节点

作者:互联网

 

 

让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