menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class PivotViewCalculatedFieldSettingBuilder

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

    Constructors

    PivotViewCalculatedFieldSettingBuilder()

    Declaration
    public PivotViewCalculatedFieldSettingBuilder()

    PivotViewCalculatedFieldSettingBuilder(List<PivotViewCalculatedFieldSetting>)

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

    Methods

    Add()

    Declaration
    public void Add()

    FormatString(String)

    It allows to set format string that used to create calculated member with specified formatted values that to be displayed in the pivot table.

    It is applicable only for OLAP data source.

    Declaration
    public PivotViewCalculatedFieldSettingBuilder FormatString(string formatString)
    Parameters
    Type Name Description
    System.String formatString
    Returns
    Type
    PivotViewCalculatedFieldSettingBuilder

    Formula(String)

    It allows to set the formula/expression to the specified calculated field.

    Declaration
    public PivotViewCalculatedFieldSettingBuilder Formula(string formula)
    Parameters
    Type Name Description
    System.String formula
    Returns
    Type
    PivotViewCalculatedFieldSettingBuilder

    HierarchyUniqueName(String)

    It allows to set hierarchy unique name, that used to create calculated member.

    It is applicable only for OLAP data source.

    Declaration
    public PivotViewCalculatedFieldSettingBuilder HierarchyUniqueName(string hierarchyUniqueName)
    Parameters
    Type Name Description
    System.String hierarchyUniqueName
    Returns
    Type
    PivotViewCalculatedFieldSettingBuilder

    Name(String)

    It allows to set the field name that used to create as a calculated field.

    Declaration
    public PivotViewCalculatedFieldSettingBuilder Name(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type
    PivotViewCalculatedFieldSettingBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved