or
var tempSource = new kendo.data.DataSource({ data: [{"ID":1,"Name":"Cliente 1","NameID":"1 - Cliente 1"},{"ID":2,"Name":"Cliente 2","NameID":"2 - Cliente 2"}]});$("#association-grid").kendoGrid({ height: 99, columns: [ { field: "ID", title: "ID" }, { field: "Name", title: "Name" }, { field: "NameID", title: "NameID" } ], dataSource: tempSource });tempSource.insert(0, { ID: "John Smith", Name: "Product Description", NameID: "123 1st Street" });function AddEntityToDataSource(entityset, entity) { var ds = GetDataSource(entityset); ds.add(entity); }function UpdateEntityToDataSource(entityset, entity) { var ds = GetDataSource(entityset); entity = ds.get(entity.id);}<li>Starts: <span data-role="calendar" data-bind="value: selectedBlock.data.StartDate"></span></li>public class LoadSearchingReturn{ [DataMember] public IEnumerable<Results> SearchingResults { get; set; } [DataMember] public IEnumerable<string> Errors {get;set;} [DataMember] public int TotalResults { get; set; }}SearchingResults is what displays in my grid and I use the Total Results inside my schema like: dataSource: { schema: { data: "d.SearchingResults", total: function (data) { return data.d.TotalResults; } },data-bind="style: { backgroundImage: selectedPhoto }"<ul data-role="listview" data-style="inset" data-type="group"> <li> Africa <ul> <li data-icon="toprated"><input name="MyCheckBox" id="MyCheckBox" type="checkbox" data-role="switch"/></li> </ul> </li></ul>