Merge pull request #867 from abhillman/exceloutput255bugfix
Report error to user when attempting to export >255 columns, rather than generic 500 ISE
This commit is contained in:
commit
a4d03968a5
@ -102,6 +102,7 @@ public class XlsExporter implements StreamExporter {
|
||||
Cell c = r.createCell(i);
|
||||
if (i == 255 && cells.size() > 256) {
|
||||
c.setCellValue("ERROR: TOO MANY COLUMNS");
|
||||
break;
|
||||
} else {
|
||||
CellData cellData = cells.get(i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user