Represents an aggregate field in the RadPivotGrid that defines how data is aggregated and displayed in the data area.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class PivotGridAggregateField : PivotGridField, IMarkableStateManager, IStateManager, IComparable, IDisposable, INamingContainer
Inheritance: objectStateManagerPivotGridFieldPivotGridAggregateField
Implements:
Inherited Members
Constructors
public PivotGridAggregateField()
public PivotGridAggregateField(AggregateDescriptionBase grDescription)
Properties
Gets or sets the Aggregate function of the field.
public PivotGridAggregate Aggregate { get; set; }
public int AggregateIndex { get; }
[Browsable(false)]
public virtual AggregateFunction[] CalculationAggregates { get; set; }
[TypeConverter(typeof(GridStringArrayConverter))]
public virtual string[] CalculationDataFields { get; set; }
public virtual string CalculationExpression { get; set; }
RadPivotGrid Aggregate Cell Template property
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate CellTemplate { get; set; }
RadPivotGrid Grand Total Cell Template (Column Field) Template
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate ColumnGrandTotalCellTemplate { get; set; }
RadPivotGrid Grand Total Header Cell Template (Column Field) Template
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate ColumnGrandTotalHeaderCellTemplate { get; set; }
RadPivotGrid Total Cell Template (Column Field) Template
[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.
public virtual string GrandTotalAggregateFormatString { get; set; }
A string that specifies the display format all grand total cells.
[Browsable(false)]
public AggregateDescriptionBase GroupDescription { get; set; }
RadPivotGrid Header Cell (Aggregate Field) Template
[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.
public virtual bool IgnoreNullValues { get; set; }
RadPivotGrid Grand Total Cell Template (Row And Column) Template
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowAndColumnGrandTotalCellTemplate { get; set; }
RadPivotGrid Total Cell Template (Row And Column) Template
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowAndColumnTotalCellTemplate { get; set; }
RadPivotGrid Grand Total Cell Template (Row Field) Template
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowGrandTotalCellTemplate { get; set; }
RadPivotGrid Grand Total Header Cell Template (Row Field) Template
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowGrandTotalHeaderCellTemplate { get; set; }
RadPivotGrid Total Cell Template (Row Field) Template
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PivotGridCell), BindingDirection.OneWay)]
public virtual ITemplate RowTotalCellTemplate { get; set; }
[PersistenceMode(PersistenceMode.InnerProperty)]
public PivotGridTotalFormat TotalFormat { get; set; }
Methods
public TotalFormat MapToCoreTotalFormat(PivotGridTotalFormat totalFormat)
protected override void OnDescriptionInfoChanged()
Overrides: