or
<div id="items-view" data-role="view" data-title="Blocks & Items" data-layout="default-layout" data-init="app.items.init" data-show="app.items.showView"> <ul data-role="listview" data-style="inset" data-type="group"> <li> <ul class="ul-content"> </ul> </li> </ul></div>var data = app.items.filterLimit(1000, app.items.data);$("#items-view ul.ul-content").kendoMobileListView({ dataSource: new kendo.data.DataSource({ data: data }), template: "<li>#: name #</li>", endlessScroll: true, virtualViewSize: 50});{ records: [], totalRecordCount: 20, queryRecordCount: 20 }return new kendo.data.DataSource({ transport: { read: { type: "POST", data: request, cache: false, url: ServiceUri + "/Associates", dataType: "json" } }, serverPaging: false, pageSize: 25, schema: { data: "records", total: "totalRecordCount", model: { fields: { Id: { type: "number" }, Name: { type: "string" }, Sex: { type: "string" }, Race: { type: "string" }, Height: { type: "string" }, Weight: { type: "string" }, Age: { type: "number" }, DOB: { type: "date" }, LastChanged: { type: "date", field: "IdentifierDate" } } } },});requestEnd: function(e) { callback(e);},GetAssociates: function (id, pgSize, callback) { var request = { "SearchParameters": { ID: id } }; return new kendo.data.DataSource({ transport: { read: { type: "POST", data: request, cache: false, url: ServiceUri + "/Associates", dataType: "json" } }, serverPaging: false, pageSize: pgSize, schema: { data: "records", total: "totalRecordCount", model: { fields: { Id: { type: "number" }, Name: {type: "string" }, Sex: {type: "string" }, Race: {type: "string" }, Height: {type: "string" }, Weight: {type: "string" }, Age: {type: "number" }, DOB: {type: "date" } } } }, requestEnd: function(e) { callback(e); }, change: function(e) { callback(e); } }).bind('change', callback).bind('requestEnd', callback);}01.(function (global) {02. var mobileSkin = "",03. app = global.app = global.app || {};04. 05. document.addEventListener('deviceready', function () {06. navigator.splashscreen.hide();07. $(document.body).height(window.innerHeight);08. }, false);09. 10. kendo.onResize(function () {11. setTimeout(function () {12. $(document.body).height(window.innerHeight);13. window.scrollTo(0, 0);14. }, 400);15. });style> .km-view { clip: rect(0 1000px 1000px 0); }</style>