Hi ,
I am using BigGridDemo.java for exporting data to xlsx .
I need to set freezing to the exported xlsx file .
i have tried something like :
public void addSheet(String name, XSSFWorkbook book, Map<String, File>
sheets) throws IOException {
XSSFSheet sheet = book.createSheet(name);
sheet.createFreezePane(3, 0,0,20);
String ref =
sheet.getPackagePart().getPartName().getName().substring(1);
File tmp = File.createTempFile("sheet" + (sheets.size() + 1),
".xml");
sheets.put(ref, tmp);
}
But i am unable to get it ..
Could you please tell me how apply freezing .
Thanks && Regards ,
Baji Shaik .
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/How-To-Set-Freezing-for-BigGridDemo-tp4295267p4295267.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]