Bug 40521

Summary: Add ability to create a new HSSFRow and later add it to the HSSFSheet
Product: POI Reporter: Martin Jost <Martin.Jost>
Component: HSSFAssignee: POI Developers List <dev>
Severity: enhancement    
Priority: P5    
Version: 3.0-dev   
Target Milestone: ---   
Hardware: All   
OS: All   

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.