Collapsed by default in EJ 1 ASP.NET MVC PivotGrid

11 Feb 2019 / 1 minute to read


This feature is applicable only for Relational datasource.

Allows you to collapse all members displayed in the grid. You can enable collapsing all members by default in the PivotGrid by setting the EnableCollapseByDefault(/api/js/ejpivotgrid#members: enablecollapsebydefault) property to true.

  • cshtml
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").EnableCollapseByDefault(true)

    Collapse by default layout in ASP NET MVC pivot grid control