I am using BigGridDemo example for POI since I have to generate excel with a million records. However, I am unable to set the column width in the template.
I tried this:
XSSFWorkbook wb = new XSSFWorkbook();
XSSFSheet sheet = wb.createSheet("Big Grid");
//sheet.autoSizeColumn(0);
sheet.setColumnWidth(0, 13);
It somehow does not pick up the formatting from the template.xlsx
In case anyone is familiar with BigGridDemo, please help!
Thanks!