Scroll to the given page. Pages are zero-based indexed.


page Number

The page to scroll to.

instant Boolean (default: false)

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

Example - scroll instantly (without animation)

<div data-role="view" data-init="onInit">
  <div id="scrollView" data-role="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 app = new;

function onInit() {
  var scrollview = $("#scrollView").data("kendoMobileScrollView");
  scrollview.scrollTo(2); //scrolls to the 3rd page instantly
In this article