dataSource | Object

Instance of DataSource that the mobile ScrollView will be bound to. If DataSource is set, the widget will operate in data bound mode.

Important: In case the total amount of displayed data is large, it is recommended to turn off the pager by setting enablePager: false in the configuration options or via data-enable-pager="false" data attribute.

Example - ScrollView bound to remote DataSource

<div data-role="view" data-stretch="true">
  <div data-role="scrollview"

<script id="scrollview-template" type="text/x-kendo-template">
  <div style="width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;"></div>
  <p>#= ProductName #</p>

var app = new;

var dataSource = new{
  type: "odata",
  transport: {
    read: {
      url: ""
  serverPaging: true,
  pageSize: 30

function setBackground(id) {
  return "url(" + id +".jpg)";
In this article