I have been trying this refering to the documentation you have mentioned without luck.
When I do
$(
"#list-container"
).kendoMobileListView({<br> template : template,<br> dataSource: kendo.data.DataSource.create( JSON.parse( getItem(
"events"
) ) )<br> });<br><br>
//Scroll up automatically<br> $("#list-container").data("kendoMobileScroller").animatedScrollTo(-100, -100);
My List view is populated but I receive the following error message:
Uncaught TypeError: Cannot call method 'animatedScrollTo' of undefined
When I retry replace the last line by :
$(
"#list-container"
).data(
"kendoMobileListView"
).animatedScrollTo(-100, -100);
It doesn't work as well.
Why is this happening ?
Also, thanks to your post, I have discovered the scroller. Since I am not using many functionalities of the listview, is better to use the scroller instead of the listview (In term of perf ? ) ?
Many Thanks