PivotLocalBindingDirective
Represents a directive that binds the PivotGrid to local data (see example).
<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
Name | Type | Default | Description |
---|---|---|---|
columnAxes |
|
Defines the column axes configuration of the PivotGrid. | |
kendoPivotLocalBinding |
|
Contains the array of data which will be used to populate the PivotGrid. | |
dimensions |
|
Defines the dimensions object of the PivotGrid. | |
filter |
|
Sets the initial filtered state of the PivotGrid. | |
measureAxes |
|
Defines the measure axes configuration of the PivotGrid. | |
measures |
|
Contains the measures collection of the PivotGrid. | |
rowAxes |
|
Defines the row axes configuration of the PivotGrid. | |
sort |
|
Sets the initial sorted state of the PivotGrid. |
Events
Name | Type | Description |
---|---|---|
configurationChange |
|
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 |
|
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 |
|
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. |