Advanced Filtering and Sorting

23 Mar 20211 minute to read

It allows to filter and sort the field members in PivotGrid.

Client Mode

In client mode, you can enable Advanced Filtering and Sorting option in PivotGrid by setting the EnableAdvancedFilter property under DataSource to true.

  • HTML
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").DataSource(dataSource => dataSource.EnableAdvancedFilter(true))

    Server Mode

    In server mode, you can enable the Advanced Filtering and Sorting option in PivotGrid by setting the EnableAdvancedFilter property to true.

  • HTML
  • @Html.EJ().Pivot().PivotGrid("PivotGrid1").EnableAdvancedFilter(true)

    Sorting

    Sorting provides an option to sort the members of a field either in ascending or descending order.

    Sorting options in ASP NET MVC pivot grid control

    Label Filtering

    Label filtering provides an option to filter the members of a field purely based on their caption.

    Label filtering options in ASP NET MVC pivot grid control

    Label filter dialog in ASP NET MVC pivot grid control

    Value Filtering

    Value filtering provides an option to filter members based on the total values of the appropriate measure between the members of the level.

    Value filtering options in ASP NET MVC pivot grid control

    Value filter dialog in ASP NET MVC pivot grid control