我已经使用 jxls 1.0.5 一段时间了,最近发现需要迁移到 2.2.5,
在 jxls 1.0.5 中,我可以将一个语句嵌入另一个语句中。
<jx:forEach items="${homeDwellers}" var="homeDweller">
<jx:forEach items="${homeDweller.chores}" var="chore">
</jx:forEach>
</jx:forEach>
Run Code Online (Sandbox Code Playgroud)
在 2.2.5 中,我只输入 jx:each 的注释,这是如何完成的?
A1: jx:each(items="homeDwellers" var="homeDweller" lastCell="B3")
A2: jx:each(items="homeDweller.chores" var="chore" lastCell="B2")
Run Code Online (Sandbox Code Playgroud)
??
jxls ×1