Category / Section
How to disable ShowGrandTotals in WinForms PivotGridControl?
1 min read
Hide the grand total
In order to hide the GrandTotal row which is being displayed at the bottom, the ShowGrandTotals property can be used.
C#
// form() // Hides the GrandTotals row. this.pivotGridControl1.PivotEngine.ShowGrandTotals = false;
VB
' Form ' Hides the GrandTotals row. Me.pivotGridControl1.PivotEngine.ShowGrandTotals = False
Screenshot
Samples:
C#: GrandTotal_CS
VB: GrandTotal_VB