Edit this page

disable

Disables the scrolling of the element.

Example

<div data-role="view">
  <a data-role="button" data-click="disableScrolling">Disable Scrolling</a>
        <a data-role="button" data-click="enableScrolling">Enable Scrolling</a>
    <div data-role="scroller" style="width: 200px; height: 200px" id="scroller">
      <div style="height: 500px">
        Content
      </div>
    </div>
    bar
 </div>

<script>
function enableScrolling() {
  $("#scroller").data("kendoMobileScroller").enable();
}

function disableScrolling() {
  $("#scroller").data("kendoMobileScroller").disable();
}

new kendo.mobile.Application();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy