This content has been marked as final.
Show 3 replies
-
1. Re: Exporting to excel - max rows?
kragoth Mar 26, 2010 12:47 AM (in response to meetoblivion)Hmm, I wonder if someone got the max number of rows and columns confused in the Seam code.
Excel supports:
65,536 rows
256 columnsSo.... 255 rows seems wrong. :)
You may need to raise a JIRA for this.
-
2. Re: Exporting to excel - max rows?
endelt260 Feb 14, 2011 2:37 PM (in response to meetoblivion)Did a JIRA get opened for this? Just got this error w/ 2.2.0.GA
-
3. Re: Exporting to excel - max rows?
endelt260 Feb 14, 2011 3:14 PM (in response to meetoblivion)Upon further review, I think the bug might just be just in the text of the error. Found this in org.jboss.seam.excel.jxl.JXLExcelWorkbook.java (2.2.0.GA)
/** * Moves the row pointer to the next row. Used internally when adding data * */ private void nextRow() { if (log.isTraceEnabled()) { log.trace("Moving from row #0 to #1", currentRowIndex, currentRowIndex + 1); } currentRowIndex++; if (currentRowIndex >= MAX_ROWS) { throw new ExcelWorkbookException(Interpolator.instance() .interpolate("Excel only supports {0} rows", MAX_COLUMNS)); } }
Where MAX_COLUMNS is 255 and MAX_ROWS is 65535.