I'm trying to hide (not generate) a row, if a condition is false. By now I'm always getting an empty row:

A1: Value: EMPTY

A1: Comment: jx:area(lastCell="B4")

A2: Value: SOME PRINT OUT

A2: Comment: jx:each(items="myList",var="myItem",lastCell="B3")

A3: Value: SOME CONDITIONAL PRINT OUT

A3: Comment:  

jx:if(condition="myItem.hasSubItems == true", lastCell="B3", areas=["A3:B3"])  

jx:each(items="myItem.subItems", var="subItem", lastCell="B3")

I don't want row3 to be generated, if myItem has no subItems

How can I achieve this?