summaryrefslogtreecommitdiff
path: root/pivotTable.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-10-08 22:08:06 +0800
committerxuri <xuri.me@gmail.com>2022-10-08 22:08:16 +0800
commitb1e776ee33ec78b7f6c2a0de8109009963dea521 (patch)
tree2a769b090171be17d3d1d6dacb7cc987f34d28ad /pivotTable.go
parent57051326d06cea02774dc0ace3293906ec5f281e (diff)
Support to set summary columns to appear to the right of detail in an outline
- Simplify calculation engine code - Update documentation for the functions - Update dependencies module
Diffstat (limited to 'pivotTable.go')
-rw-r--r--pivotTable.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pivotTable.go b/pivotTable.go
index 8266c8e..0999a97 100644
--- a/pivotTable.go
+++ b/pivotTable.go
@@ -109,7 +109,7 @@ type PivotTableField struct {
// f.SetCellValue("Sheet1", fmt.Sprintf("D%d", row), rand.Intn(5000))
// f.SetCellValue("Sheet1", fmt.Sprintf("E%d", row), region[rand.Intn(4)])
// }
-// if err := f.AddPivotTable(&excelize.PivotTableOption{
+// if err := f.AddPivotTable(&excelize.PivotTableOptions{
// DataRange: "Sheet1!$A$1:$E$31",
// PivotTableRange: "Sheet1!$G$2:$M$34",
// Rows: []excelize.PivotTableField{{Data: "Month", DefaultSubtotal: true}, {Data: "Year"}},