Commit 6fefd0c2 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add first column style

parent 3250ea23
...@@ -4783,6 +4783,13 @@ ...@@ -4783,6 +4783,13 @@
countC = pivotTable.getColumnFieldsCount(); countC = pivotTable.getColumnFieldsCount();
countR = pivotTable.getRowFieldsCount(true); countR = pivotTable.getRowFieldsCount(true);
if (styleInfo.showRowHeaders && countR) {
cells = this.getRange3(pivotRange.r1, pivotRange.c1, pivotRange.r2, pivotRange.c1 + Math.max(0, countR - 1));
dxf = style.firstColumn && style.firstColumn.dxf;
cells.setTableStyle(dxf);
}
if (styleInfo.showColHeaders) { if (styleInfo.showColHeaders) {
cells = this.getRange3(pivotRange.r1, pivotRange.c1, pivotRange.r1 + countC, pivotRange.c2); cells = this.getRange3(pivotRange.r1, pivotRange.c1, pivotRange.r1 + countC, pivotRange.c2);
dxf = style.headerRow && style.headerRow.dxf; dxf = style.headerRow && style.headerRow.dxf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment