New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents an aggregate field in the RadPivotGrid that defines how data is aggregated and displayed in the data area.

Definition

Constructors

C#
public PivotGridAggregateField()
C#
public PivotGridAggregateField(AggregateDescriptionBase grDescription)
Parameters:grDescriptionAggregateDescriptionBase

Properties

Gets or sets the Aggregate function of the field.

C#
public PivotGridAggregate Aggregate { get; set; }
C#
public int AggregateIndex { get; }
C#
[Browsable(false)]
public virtual AggregateFunction[] CalculationAggregates { get; set; }
C#
[TypeConverter(typeof(GridStringArrayConverter))]
public virtual string[] CalculationDataFields { get; set; }
C#
public virtual string CalculationExpression { get; set; }

RadPivotGrid Aggregate Cell Template property

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate CellTemplate { get; set; }

RadPivotGrid Grand Total Cell Template (Column Field) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate ColumnGrandTotalCellTemplate { get; set; }

RadPivotGrid Grand Total Header Cell Template (Column Field) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate ColumnGrandTotalHeaderCellTemplate { get; set; }

RadPivotGrid Total Cell Template (Column Field) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate ColumnTotalCellTemplate { get; set; }

Gets or sets the string that specifies the display format for all grand total cells.

C#
public virtual string GrandTotalAggregateFormatString { get; set; }
Property Value:

A string that specifies the display format all grand total cells.

C#
[Browsable(false)]
public AggregateDescriptionBase GroupDescription { get; set; }

RadPivotGrid Header Cell (Aggregate Field) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate HeaderCellTemplate { get; set; }

Gets or sets a value that indicates whether null values will be included in the calculation of the aggregate.

C#
public virtual bool IgnoreNullValues { get; set; }

RadPivotGrid Grand Total Cell Template (Row And Column) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowAndColumnGrandTotalCellTemplate { get; set; }

RadPivotGrid Total Cell Template (Row And Column) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowAndColumnTotalCellTemplate { get; set; }

RadPivotGrid Grand Total Cell Template (Row Field) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowGrandTotalCellTemplate { get; set; }

RadPivotGrid Grand Total Header Cell Template (Row Field) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowGrandTotalHeaderCellTemplate { get; set; }

RadPivotGrid Total Cell Template (Row Field) Template

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowTotalCellTemplate { get; set; }
C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public PivotGridTotalFormat TotalFormat { get; set; }

Methods

C#
public TotalFormat MapToCoreTotalFormat(PivotGridTotalFormat totalFormat)
Parameters:totalFormatPivotGridTotalFormatReturns:

TotalFormat

C#
protected override void OnDescriptionInfoChanged()

Overrides: PivotGridField.OnDescriptionInfoChanged()