New to Kendo UI for jQuery? Start a free 30-day trial
Local Data
Updated over 6 months ago
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.
js
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
