question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ClassicPivotTableLayout does not work

See original GitHub issue

Please check if , setting this does not seem to do anything when I check actual pivot table property for Classic View. Thank youl

pt = ws.PivotTables.AddNew("BenchmarkEventsPivot", ws.Cell(9, 1), source);
pt.ClassicPivotTableLayout = true;

pt.RowLabels.Add("SUBMASTER","Client");

pt.RowLabels.Add("SIDE", "Side");
pt.RowLabels.Add("SYMBOL", "Symbol");
pt.RowLabels.Add("TRADER", "Trader");

pt.Values.Add("PL").SetSummaryFormula(XLPivotSummary.Sum).NumberFormat.Format = "#0,000";
pt.Values.Add("QTY").SetSummaryFormula(XLPivotSummary.Sum).NumberFormat.Format = "#0,000";

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
vbjaycommented, Feb 17, 2017

Since there are no milestones https://github.com/ClosedXML/ClosedXML/milestones, you have two options. Wait till they release or build from code.

On Fri, Feb 17, 2017, 3:27 PM vcoderv notifications@github.com wrote:

I meant for the download… ver 0.87

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ClosedXML/ClosedXML/issues/191#issuecomment-280757753, or mute the thread https://github.com/notifications/unsubscribe-auth/ADdhsYQAWt9KHHkwJXsOTdSUvvZ1q0sWks5rdgLMgaJpZM4L662A .

0reactions
igiturcommented, Mar 20, 2017

The PR has been merged into the develop branch. I’d appreciate it if you could pull the develop branch and check that it solves your issue. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set PivotTable default layout options
Changing the default PivotTable settings will affect new PivotTables in any workbook. Existing PivotTables aren't impacted by changes to the default layout.
Read more >
Using Classic PivotTable Layout as the Default - Excel Tips
Click the Data option. · Click the Edit Default Layout button. · Click the PivotTable Options button. · Make sure the Display tab...
Read more >
Classic Pivot Table Layout View
STEP 1: Right click in the Pivot Table and select PivotTable Options ; STEP 2: Go to Display > Classic PivotTable Layout and...
Read more >
Setting Default Pivot Table Options does not work (Excel ...
I recently discovered the new feature in Excel 2016 that allows you to set the default options for pivot tables in Options>Data>Edit Default...
Read more >
How to set classic pivot table layout in Excel?
1. Right click at any cell in the pivot table to show the context menu, and select PivotTable Options. · 2. In the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found