簡體   English   中英

jx的語法是什么:jx中的每個語句:jxls2中的每個語法

[英]what is the syntax for jx:each within jx:each in jxls2

我一直在使用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>

如何用2.2.5完成我只輸入jx的注釋:每個?

A1: jx:each(items="homeDwellers" var="homeDweller" lastCell="B3")
A2: jx:each(items="homeDweller.chores" var="chore" lastCell="B2")

??

您可以在單個多行單元格注釋中根據需要定義任意數量的內部命令

jx:each(items="homeDwellers" var="homeDweller" lastCell="B3")
jx:each(items="homeDweller.chores" var="chore" lastCell="B2")

它們將以相同的順序嵌入。 請參閱文檔中的類似示例。

您還可以在jxls-demo項目中查看comment_markup_demo.xls模板,該模板演示了各種標記選項。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM