|Summary:||Add ability to create a new HSSFRow and later add it to the HSSFSheet|
|Product:||POI||Reporter:||Martin Jost <Martin.Jost>|
|Component:||HSSF||Assignee:||POI Developers List <dev>|
Description Martin Jost 2006-09-15 13:36:14 UTC
Right now - AFAIK - the only way to create a HSSFRow is by using HSSFSheet.createRow(). This will create a HSSFRow within the HSSFSheet. I could get much cleaner code in my case, if it were possible to create a new HSSFRow, fill it and later add it to the HSSFSheet.
Comment 1 Josh Micich 2008-05-10 20:28:30 UTC
Unfortunately HSSFRow needs a back reference to its containing Sheet (for storing the cell value records). POI would have to jump through hoops to get 'detached rows' to work. Please re-open this bug if you have a pretty compelling example of code that shows how much easier things would be with detached rows.