Hi I am trying to reset the scroll position of a scroller I'm using within a modal each time that modal is opened so I am trying to figure out how to invoke the .reset function for the scroller. I initialized the scoller using the .kendoMobileScoller method.
I've attempted to set the scroller instance into a global variable like: scroller = $('#element').kendoMobileScroller(); and then later calling scroller.reset() when the modal is reopened.
When I do this I get the following error: Uncaught TypeError: Object [object Object] has no method 'reset'
Any tips as to what I am doing wrong?
Thank you,
Steven
I've attempted to set the scroller instance into a global variable like: scroller = $('#element').kendoMobileScroller(); and then later calling scroller.reset() when the modal is reopened.
When I do this I get the following error: Uncaught TypeError: Object [object Object] has no method 'reset'
Any tips as to what I am doing wrong?
Thank you,
Steven