menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotFieldListSortSettingBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotFieldListSortSettingBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PivotFieldListSortSettingBuilder
    Namespace: Syncfusion.EJ2.PivotView
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PivotFieldListSortSettingBuilder : ControlBuilder

    Constructors

    PivotFieldListSortSettingBuilder()

    Declaration
    public PivotFieldListSortSettingBuilder()

    PivotFieldListSortSettingBuilder(List<PivotFieldListSortSetting>)

    Declaration
    public PivotFieldListSortSettingBuilder(List<PivotFieldListSortSetting> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<PivotFieldListSortSetting> collection

    Methods

    Add()

    Declaration
    public void Add()

    MembersOrder(Object)

    Allows to specify the order in which the members should be sorted.

    Declaration
    public PivotFieldListSortSettingBuilder MembersOrder(object membersOrder)
    Parameters
    Type Name Description
    System.Object membersOrder
    Returns
    Type
    PivotFieldListSortSettingBuilder

    Name(String)

    Allows to set the field name to order their members either in ascending or descending in the pivot table.

    Declaration
    public PivotFieldListSortSettingBuilder Name(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    PivotFieldListSortSettingBuilder

    Order(Sorting)

    Allows to apply sorting to the specified field either by ascending or descending or JSON order. The types are, Ascending: It allows to display the field members in ascending order. Descending: It allows to display the field members in descending order. None: It allows to display the field members based on JSON order.

    Declaration
    public PivotFieldListSortSettingBuilder Order(Sorting order)
    Parameters
    Type Name Description
    Sorting order
    Returns
    Type
    PivotFieldListSortSettingBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved