# Local Data Binding Directive

The PivotGrid component allows you to use local data.

## Basic Usage

To get the PivotGrid running using the [`kendoPivotLocalBinding`](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/pivotlocalbindingdirective) directive, pass the data collection to the directive, and define the following configuration settings:

* [`dimensions`](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/pivotlocalbindingdirective#dimensions)—the dimensions object of the PivotGrid.
* [`measures`](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/pivotlocalbindingdirective#measures)—the measures collection of the PivotGrid.
* [`rowAxes`](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/pivotlocalbindingdirective#rowaxes)—the row axes configuration of the PivotGrid.
* [`columnAxes`](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/pivotlocalbindingdirective#columnaxes)—the column axes configuration of the PivotGrid.
* [`measureAxes`](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/pivotlocalbindingdirective#measureaxes)—the measure axes configuration of the PivotGrid.

The following demo shows how to configure the PivotGrid component. Each field in the `dimensions` object points to a field in the local data.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/pivotgrid/overview/source.txt)

## Suggested Links

* [Data Binding Basics](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/data-binding/basics)
* [API Reference of the PivotGridComponent](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api/pivotgridcomponent)
* [API Index of the PivotGrid](https://www.telerik.com/kendo-angular-ui/components/pivotgrid/api)
