小编use*_*566的帖子

jxls2 中 jx:each 内 jx:each 的语法是什么

我已经使用 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
推荐指数
1
解决办法
7936
查看次数

标签 统计

jxls ×1