如果条件为假,我正在尝试隐藏(不生成)一行。现在我总是得到一个空行:
A1:值:空
A1:注释:jx:area(lastCell="B4")
A2:价值:一些打印出来
A2:注释:jx:each(items="myList",var="myItem",lastCell="B3")
A3:价值:一些有条件的打印输出
A3:评论:
jx:if(condition="myItem.hasSubItems == true", lastCell="B3", area=["A3:B3"])
jx:each(items="myItem.subItems", var="子项”,lastCell="B3")
如果 myItem 没有 subItems,我不希望生成 row3
我怎样才能做到这一点?