Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline form or Tabular form pivot tables #1785

Open
longphee opened this issue Jan 19, 2024 · 2 comments
Open

Outline form or Tabular form pivot tables #1785

longphee opened this issue Jan 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@longphee
Copy link
Contributor

Description
I need to show pivot data in outline form or tabular form, but now only support compact, may we also support setting outline and tabular ?

Describe the results you received:
image

Describe the results you expected:
image

Output of go version:
go version go1.18.3 darwin/arm64

Excelize version or commit ID:
2.6.1

@xuri
Copy link
Member

xuri commented Jan 20, 2024

Thanks for your issue. Please specify the Outline value as true in each PivotTableField field, for example:

Filter: []excelize.PivotTableField{{Data: "FieldName", Outline: true}},

@longphee
Copy link
Contributor Author

Thanks for your issue. Please specify the Outline value as true in each PivotTableField field, for example:

Filter: []excelize.PivotTableField{{Data: "FieldName", Outline: true}},

Thanks for your reply. It doesn't work.

'行标签' is automatically generated for the first row. However, I prefer using its specific column name, which is feasible with the tabular form layout
https://www.contextures.com/excelpivottablereportlayout.html

@xuri xuri added the enhancement New feature or request label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants