How to set Pivot table Report Layout to tabular in EPPlus?
Looking at the samples that come with EPPlus I have managed to create the pivot table, but I am unable to set the correct report layout for it. I want it to be 'tabular', not 'outline' or whatever. To me it looks like EPPlus doesn't support this now, but perhaps I'm missing something? This turned out to be way easier than I thought... By setting 'everything' to 'false' it the table rendered as Tabular. So basically: pivotTable.Compact = false; pivotTable.CompactData = false; pivotTable.Indent = 0; pivotTable.RowGrandTotals = false; pivotTable.UseAutoFormatting = true; pivotTable