I use the following code to authorize columns in my table:
for (int i = 0; i < columns.size(); i++) { sheet.autoSizeColumn(i, true); sheet.setColumnWidth(i, sheet.getColumnWidth(i) + 600); }
The problem is that it takes more than 10 minutes to automatically sort each column with large tables with more than 3000 rows. However, it goes very fast for small documents. Is there anything that could help automate the work faster?
java performance excel autosize apache-poi
antken Sep 24 '13 at 13:37 2013-09-24 13:37
source share