or
$("#listView").kendoListView({ dataSource: dataSource, selectable: true, template : kendo.template($("#template").html()), change: function (e) { alert('change'); }, dataBound : function () { $(".product").kendoDraggable({ hint: function (element) { return element.clone(); } }); }});this.$('.kendoHourInput').kendoNumericTextBox({ format: '#.0 h'});Uncaught TypeError: Cannot read property 'numberFormat' of nullshim: { ... someLib: { deps: ['globalize'] }}
<!DOCTYPE html><html><head> <title>KendoUI Test Page</title> <link href="http://cdn.kendostatic.com/2013.3.1119/styles/kendo.common.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2013.3.1119/styles/kendo.default.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2013.3.1119/styles/kendo.dataviz.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2013.3.1119/styles/kendo.mobile.all.min.css" rel="stylesheet" /> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://cdn.kendostatic.com/2013.3.1119/js/kendo.all.min.js"></script></head><body> <div data-role="view"> <br/> <br/> <a data-role="button" data-click="openModal">Sign In</a></div><div data-role="modalview" id="scrollview-home" style="width: 100%; height: 100%" data-modal="false"> <div data-role="header"> <div data-role="navbar"> <span>Gallery</span> <a data-click="closeModalViewLogin" data-role="button" data-align="left">Cancel</a> </div> </div> <div id="scrollview-container"> <div id="scrollview" style="padding-top: 20%" data-role="scrollview" data-template="tmpl" data-items-per-page="1"> </div> </div></div> <script type="text/x-kendo-template" id="tmpl"> <div data-role="page"> #=title#</div> </script> <style> </style> <script> function openModal(e) { var dataSource = new kendo.data.DataSource({ data: [ {title:"Item 1", desc:"Description 1"}, {title:"Item 2", desc:"Description 2"}, {title:"Item 3", desc:"Description 3"}, ], pageSize: 7 }); $("#scrollview").data("kendoMobileScrollView").setDataSource(dataSource); $("#scrollview").data("kendoMobileScrollView").refresh(); $("#scrollview-home").data("kendoMobileModalView").open(); } var app = new kendo.mobile.Application(document.body, {skin: 'flat'}); </script></body></html>