Scrolls to the specified page. Page indices are zero-based.


page Number

The page to which will be scrolled.

instant Boolean (default: false)

If set to true, the ScrollView will instantly jump to the specified page without any animation effects.

Example - scrolling instantly and without animation

<div id="scrollView">
    <div data-role="page">Foo</div>
    <div data-role="page">Bar</div>
    <div data-role="page">Baz</div>
    <div data-role="page">Bat</div>
var scrollView = $("#scrollView").kendoScrollView().data().kendoScrollView;
scrollView.scrollTo(2); //scrolls to the 3rd page

In this article
Not finding the help you need? Improve this article