From b1e776ee33ec78b7f6c2a0de8109009963dea521 Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 8 Oct 2022 22:08:06 +0800 Subject: 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 --- pivotTable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pivotTable.go') 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"}}, -- cgit v1.2.1