帆软报表默认展开几层级
模板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’);}})
还没有评论,来说两句吧...