scrollElement jQuery

The inner Scroller element that holds the scrolling content. Use this field if you wish to change the element contents after the Scroller is initialized on it.

Replace the Scroller contents

<div data-role="view" data-init="viewInit">
    <div id="scroller" data-role="scroller">Foo</div>
</div>

<script>
function viewInit(e) {
  var scroller = $("#scroller").data("kendoMobileScroller");
  scroller.scrollElement.html("<b>New content</b>");
}

new kendo.mobile.Application();
</script>
In this article
Not finding the help you need? Improve this article