I am trying to scroll a list view to the top when a button is clicked, however it doesn't seem to be working.
Here is an example...
http://jsbin.com/jofijowa/1/edit
Essentially, I am trying to move the list view like this...
function scrollTop() {
console.log("Hello World"); //debug
var scroller = $("#flat-listview").kendoMobileScroller()
console.log(scroller); //debug
scroller.scrollTop(0);
}
#flat-listview being the id of the ul
Any ideas?
Thanks