GrandTotal Hiding in EJ 1 ASP.NET MVC PivotGrid

11 Feb 2019 / 1 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 property EnableRowGrandTotal to false.

  • cshtml
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").EnableRowGrandTotal(false).DataSource(.....)

    Hiding row totals in ASP NET MVC pivot grid control

    Column Grand Total Hiding

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

  • cshtml
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").EnableColumnGrandTotal(false).DataSource(.....)

    Hiding column totals in ASP NET MVC pivot grid control

    Both

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

  • cshtml
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").EnableGrandTotal(false).DataSource(.....)

    Hiding totals in ASP NET MVC pivot grid control