scrollHeight

Returns the height in pixels of the scroller content.

Example

<div data-role="view">
  <a data-role="button" data-click="getHeight">Get Scroll Height</a>
   <div data-role="scroller" style="width: 200px; height: 200px" id="scroller">
      <div style="height: 500px">
        Content
      </div>
    </div>
    bar
 </div>

<script>
function getHeight() {
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log($("#scroller").data("kendoMobileScroller").scrollHeight());
}

new kendo.mobile.Application();
</script>
In this article