How to hide the Grand Total present in the PivotGrid?

It can be achieved by setting the property ShowGrandTotals to false. By default, PivotGrid displays Grand Total for both column and row headers.
It can be mentioned either in XAML or in Code-Behind.

If through XAML, please refer the below code sample.

  • xaml
  • <Grid>
           <syncfusion:PivotGridControl x:Name="pivotGrid" ShowGrandTotals="False">
           </syncfusion:PivotGridControl>
        </Grid>

    Else if through Code-Behind, please refer the below code sample.

  • c#
  • public MainWindow()
            {
                InitializeComponent();
                this.pivotGrid.ShowGrandTotals = false;
            }