This is a migrated thread and some comments may be shown as answers.

Trying to reset a scroller initialized using .kendoMobileScroller()

0 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 29 Oct 2012, 03:21 AM
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

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Share this question
or