enablePager Boolean(default: true)

If set to true, the ScrollView will display a pager. By default, the pager is enabled.

Example - turning off the pager in a ScrollView in the data-bound mode

<div id="scrollview"></div>

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

<script>
$("#scrollView").kendoScrollView({
    dataSource: dataSource,
    template: "scrollview-template",
    enablePager: false,
    contentHeight: "120px"
});

var dataSource = new kendo.data.DataSource({
  type: "odata",
  transport: {
    read: {
      url: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Products"
    }
  },
  serverPaging: true
});

function setBackground(id) {
  return "url(https://demos.telerik.com/kendo-ui/content/web/foods/" + id +".jpg)";
}
</script>
In this article
Not finding the help you need? Improve this article