This question is locked. New answers and comments are not allowed.
I am trying to create a simple list view, and keep getting this error - Uncaught TypeError: Cannot call method 'hide' of undefined
I started with a kendo mobile project template. I added a data.js file - to setup data source. I added a list view. Then, I added a line to $ ready function to configure list view in code. I can see the call to the service made, so I think this part is correct.
Any ideas why I am getting the error?
Thank you.
var app = new kendo.mobile.Application(document.body, { transition: "slide", layout: "mobile-tabstrip" });
$(function(){
$("#artistsListView").kendoMobileListView({
endlessScroll: true,
dataSource: data.artists,
template: "artists-list-template",
scrollTreshold: 10,
loadMore: true
});
});
I started with a kendo mobile project template. I added a data.js file - to setup data source. I added a list view. Then, I added a line to $ ready function to configure list view in code. I can see the call to the service made, so I think this part is correct.
Any ideas why I am getting the error?
Thank you.
var app = new kendo.mobile.Application(document.body, { transition: "slide", layout: "mobile-tabstrip" });
$(function(){
$("#artistsListView").kendoMobileListView({
endlessScroll: true,
dataSource: data.artists,
template: "artists-list-template",
scrollTreshold: 10,
loadMore: true
});
});