帆软报表默认展开几层级

快来打我* 2023-02-15 10:23 86阅读 0赞

模板web属性—> 加载后事件

添加JS代码

$(“#content-container”).find(“tr”).has(“.x-treenode-unexpand”).each(function(){
if($(this).children().eq(0).text()==1){ //eq(0)表示最左边的单元格;text()==1,表示内容为1的单元格
$(this).find(“.x-treenode-unexpand”).trigger(‘click’);}})

发表评论

表情:
评论列表 (有 0 条评论,86人围观)

还没有评论,来说两句吧...

相关阅读