# Local Data

The Kendo UI Grid enables you to bind it to local arrays of data.

To bind the Grid to local data, set the `dataSource` option of the `kendoGrid` object. For a runnable example, refer to the [demo on binding the Grid to local data](https://demos.telerik.com/kendo-ui/grid/local-data-binding).

```
var people = [ { firstName: "John",
                 lastName: "Smith",
                 email: "john.smith@telerik.com" },
               { firstName: "Jane",
                 lastName: "Smith",
                 email: "jane.smith@telerik.com" },
               { firstName: "Josh",
                 lastName: "Davis",
                 email: "josh.davis@telerik.com" },
               { firstName: "Cindy",
                 lastName: "Jones",
                 email: "cindy.jones@telerik.com" } ];

 $("#grid").kendoGrid({
     dataSource: people
 });
```

**Figure 1: A Grid that is bound to a local data array**

![Kendo UI for jQuery Grid Local Data Binding](https://www.telerik.com/kendo-jquery-ui/documentation/assets/2b47e95ef827985873bb21409f53bed1/grid-local-data-binding.png)

## See Also

* [Local Data Binding of the Grid (Demo)](https://demos.telerik.com/kendo-ui/grid/local-data-binding)
* [JavaScript API Reference of the Grid](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/grid)
* [Knowledge Base Section](https://www.telerik.com/kendo-jquery-ui/documentation/knowledge-base)
