New to Kendo UI for AngularStart a free 30-day trial

PivotLocalBindingDirective

Represents a directive that binds the PivotGrid to local data (see example).

html
<kendo-pivotgrid
    [kendoPivotLocalBinding]="data"
    [dimensions]="dimensions"
    [measures]="measures"
    [columnAxes]="columnAxes"
    [rowAxes]="rowAxes"
    [measureAxes]="measureAxes">
</kendo-pivotgrid>

Selector

[kendoPivotLocalBinding]

Export Name

Accessible in templates as #kendoPivotLocalBindingInstance="kendoPivotLocalBinding"

Inputs

NameTypeDefaultDescription

columnAxes

PivotGridAxis[]

Defines the column axes configuration of the PivotGrid.

kendoPivotLocalBinding

any[]

Contains the array of data which will be used to populate the PivotGrid.

dimensions

{[key: string]: Dimension}

Defines the dimensions object of the PivotGrid.

filter

FilterDescriptor[]

Sets the initial filtered state of the PivotGrid.

measureAxes

PivotGridAxis[]

Defines the measure axes configuration of the PivotGrid.

measures

Measure[]

Contains the measures collection of the PivotGrid.

rowAxes

PivotGridAxis[]

Defines the row axes configuration of the PivotGrid.

sort

SortDescriptor[]

Sets the initial sorted state of the PivotGrid.

Events

NameTypeDescription

configurationChange

EventEmitter<ConfigurationChangeEvent>

Fires when the Configurator Apply button is pressed.

The event is preventable. If you prevent the event, the PivotGrid will not rerender with the new state that results from the configuration changes.

dataLoaded

EventEmitter<PivotDataRowItem[]>

Fires each time new data is loaded and transformed to show aggregated values.

The event fires upon initialization and on user interaction that changes the state of the PivotGrid.

expandChange

EventEmitter<ExpandChangeEvent>

Fires each time a row or column header gets expanded or collapsed by the user.

The event is preventable. If you prevent the event, the PivotGrid will not rerender with the new state that results from the user interaction.

In this article
SelectorExport NameInputsEvents
Not finding the help you need?
Contact Support