summaryrefslogtreecommitdiff
path: root/xmlPivotTable.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 /xmlPivotTable.go
parent7e12b560ce40fc756fa5347d25a64ea48f9710ac (diff)
support ShowError option in Pivot table (#802)
Diffstat (limited to 'xmlPivotTable.go')
-rw-r--r--xmlPivotTable.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlPivotTable.go b/xmlPivotTable.go
index dc8b765..9c4be50 100644
--- a/xmlPivotTable.go
+++ b/xmlPivotTable.go
@@ -31,7 +31,7 @@ type xlsxPivotTableDefinition struct {
DataCaption string `xml:"dataCaption,attr"`
GrandTotalCaption string `xml:"grandTotalCaption,attr,omitempty"`
ErrorCaption string `xml:"errorCaption,attr,omitempty"`
- ShowError bool `xml:"showError,attr,omitempty"`
+ ShowError *bool `xml:"showError,attr"`
MissingCaption string `xml:"missingCaption,attr,omitempty"`
ShowMissing bool `xml:"showMissing,attr,omitempty"`
PageStyle string `xml:"pageStyle,attr,omitempty"`
@@ -48,7 +48,7 @@ type xlsxPivotTableDefinition struct {
VisualTotals bool `xml:"visualTotals,attr,omitempty"`
ShowMultipleLabel bool `xml:"showMultipleLabel,attr,omitempty"`
ShowDataDropDown bool `xml:"showDataDropDown,attr,omitempty"`
- ShowDrill *bool `xml:"showDrill,attr,omitempty"`
+ ShowDrill *bool `xml:"showDrill,attr"`
PrintDrill bool `xml:"printDrill,attr,omitempty"`
ShowMemberPropertyTips bool `xml:"showMemberPropertyTips,attr,omitempty"`
ShowDataTips bool `xml:"showDataTips,attr,omitempty"`