I used to export to Excel using:
- Code: Select all
HssfTableUtils.export(JTable table, String fileName, String sheetName, boolean append, boolean includeTableHeader)
That worked great until I added pagination to my table.
Now it exports only the visible page. Nothing more. If I shrink the table to only a few rows per page, only those rows are exported.
Is this intentional? Is there any way to have the whole table exported as before?
Thanks!