Grand Total Hiding

13 Feb 20191 minute to read

Grand total hiding can be classified into three categories.

  • Row grand total hiding
  • Column grand total hiding
  • Both

Row grand total hiding

You can hide the Grand Total in row alone by setting the enableRowGrandTotal property to false.

  • HTML
  • <script>
        $(function() {
            $("#PivotGrid1").ejPivotGrid({
            //...
            enableRowGrandTotal: false
            });
        });
    </script>

    Hiding row totals in JavaScript pivot grid control

    Column grand total hiding

    You can hide the Grand Total in column alone by setting the enableColumnGrandTotal property to false.

  • HTML
  • <div id="PivotGrid1"></div>
    <script>
        $(function() {
            $("#PivotGrid1").ejPivotGrid({
                //...
                enableColumnGrandTotal: false
            });
        });
    </script>

    Hiding column totals in JavaScript pivot grid control

    Both

    You can hide the Grand Total in both row and column by setting the enableGrandTotal property to false.

  • HTML
  • <div id="PivotGrid1"></div>
    
    <script>
        $(function() {
            $("#PivotGrid1").ejPivotGrid({
                //...
                enableGrandTotal: false
            });
        });
    </script>

    Hiding totals in JavaScript pivot grid control