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

IPivotResults

Interface

This interface provides access to the IGroups and AggregateValues accumulated during a pivot grouping process.

Definition

Namespace:Telerik.Web.UI.PivotGrid.Core

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public interface IPivotResults : IAggregateResultProvider

Inherited Members IAggregateResultProvider.GetAggregateResult(int, Coordinate)IAggregateResultProvider.Root

Properties

A read-only collection of the IAggregateDescription used to generate the the available AggregateValues for the GetAggregateResult(int, IGroup, IGroup).

C#
IReadOnlyList<IAggregateDescription> AggregateDescriptions { get; }

A read-only collection of the GroupDescriptions used to generate the Root's ColumnGroup IGroups tree.

C#
IReadOnlyList<GroupDescription> ColumnGroupDescriptions { get; }

A read-only collection of the FilterDescription used to filter the items.

C#
IReadOnlyList<FilterDescription> FilterDescriptions { get; }

A read-only collection of the GroupDescriptions used to generate the Root's RowGroup IGroups tree.

C#
IReadOnlyList<GroupDescription> RowGroupDescriptions { get; }

Methods

Gets the AggregateValue for the AggregateDescriptionBase at index aggregateIndex for the row and column IGroups.

C#
AggregateValue GetAggregateResult(int aggregateIndex, IGroup row, IGroup column)
Parameters:aggregateIndexint

The index of the AggregateDescriptionBase for which a value is retrieved.

rowIGroup

An IGroup from the Root's RowGroup tree.

columnIGroup

An IGroup from the Root's ColumnGroup tree.

Returns:

AggregateValue

Null or AggregateValue if it is available.

Returns the unique items generated for FilterDescription located at index filterIndex.

C#
IEnumerable<object> GetUniqueFilterItems(int filterIndex)
Parameters:filterIndexint

The FilterDescription index.

Returns:

IEnumerable<object>

The unique items.

Returns the unique keys generated for the GroupDescription located at axis at index index.

C#
IEnumerable<object> GetUniqueKeys(PivotAxis axis, int index)
Parameters:axisPivotAxis

The axis.

indexint

The GroupDescription index.

Returns:

IEnumerable<object>

The unique keys.