Bug 57063 - addColumnLabel - Not possible to set a custom name
Summary: addColumnLabel - Not possible to set a custom name
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.11-dev
Hardware: PC All
: P2 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2014-10-07 11:41 UTC by jakob.mandalka
Modified: 2014-12-21 06:12 UTC (History)
0 users

Fix for bug 57063 (5.04 KB, patch)
2014-12-19 22:08 UTC, Kamil Linek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.