DEV Community

Discussion on: JXLS: How to generate Excel documents using templates?

Collapse
 
alekyaragipally profile image
alekyaragipally • Edited

you need to specify your array name in items, and give any var name in var, and last cell is the last cell where your data ends
jx:each(items="arrayName" var="anyVarName" lastCell="E5")

Add it as a comment to the first cell of the excel where the dynamic data starts