The Kendo Mobile ScrollView widget is used to scroll content wider than the device screen.
The Kendo Mobile Application automatically initializes the Mobile ScrollView for every element with role
data attribute set to scrollview
present in the views' markup.
Alternatively, it can be initialized using jQuery plugin syntax in the containing mobile View init event handler.
<div data-role="scrollview">
Foo
</div>
<div data-role="view" data-init="initScrollView">
<div id="scrollView">
<div data-role="page">Foo</div>
<div data-role="page">Bar</div>
</div>
</div>
<script>
function initScrollView(e) {
e.view.element.find("#scrollView").kendoMobileScrollView();
}
</script>
data-role="page"
attribute set.<div data-role="scrollView">
<div data-role="page">Foo</div>
<div data-role="page">Bar</div>
</div>