summaryrefslogtreecommitdiff
path: root/pivotTable.go
diff options
context:
space:
mode:
authorjinhyuk-kim-ca <71794373+jinhyuk-kim-ca@users.noreply.github.com>2021-03-13 00:22:28 -0500
committerGitHub <noreply@github.com>2021-03-13 13:22:28 +0800
commitb83a36a8aead4b76c2c4025283590e1afd7e500a (patch)
tree06354d6e8d9a61ceed59f7d874c69468e76b2b48 /pivotTable.go
parent7e12b560ce40fc756fa5347d25a64ea48f9710ac (diff)
support ShowError option in Pivot table (#802)
Diffstat (limited to 'pivotTable.go')
-rw-r--r--pivotTable.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pivotTable.go b/pivotTable.go
index ff21ac1..42a9473 100644
--- a/pivotTable.go
+++ b/pivotTable.go
@@ -34,6 +34,7 @@ type PivotTableOption struct {
PageOverThenDown bool
MergeItem bool
CompactData bool
+ ShowError bool
ShowRowHeaders bool
ShowColHeaders bool
ShowRowStripes bool
@@ -308,6 +309,7 @@ func (f *File) addPivotTable(cacheID, pivotTableID int, pivotTableXML string, op
PageOverThenDown: &opt.PageOverThenDown,
MergeItem: &opt.MergeItem,
CompactData: &opt.CompactData,
+ ShowError: &opt.ShowError,
DataCaption: "Values",
Location: &xlsxLocation{
Ref: hcell + ":" + vcell,