Bug 57063

Summary: addColumnLabel - Not possible to set a custom name
Product: POI Reporter: jakob.mandalka
Component: XSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 3.11-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Fix for bug 57063

Description jakob.mandalka 2014-10-07 11:41:36 UTC
I am running a simple pivot creation which is working in general.

BUT when I am using the function:

pivotTable.addColumnLabel(DataConsolidateFunction.SUM, 4);      
pivotTable.addColumnLabel(DataConsolidateFunction.SUM, 5);

the columns in the pivot table are both just called "SUM".

It would be greate if I had the chance to set a name for this ColumnLabel or at least the column would builed its name based on the Source Header fields.
Comment 1 Kamil Linek 2014-12-19 22:08:56 UTC
Created attachment 32311 [details]
Fix for bug 57063
Comment 2 Nick Burch 2014-12-21 06:12:28 UTC
Thanks, patch applied in r1647087.