-
Bug
-
Resolution: Invalid
-
Normal
-
None
-
1.0.0
-
None
The column size in row fields is not correct when setting in PivotRender
public class CustomPivotRenderer implements PivotRenderer { public int getColumnSize(Pivottable table, PivotHeaderContext columnContext, PivotField field) { int columnSize = 100; // default column size if (columnContext.isGrandTotal() && field != null) { columnSize = 200; } else { if ("Organization".equals(field.getTitle())) columnSize = 100; if ("Pointer".equals(field.getTitle())) columnSize = 50; //row field column size } return columnSize; } }
It will have total size 150px, after clicking open icon the Organization and Pointer columns will have 75px each instead of 100px and 50px.