New to Kendo UI for jQuery? Download free 30-day trial

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.

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

See Also

In this article