New to Kendo UI for jQuery? Start a free 30-day trial

Content

methods

Updates the HTML content of the scrollView.

The content method is not supported in the data-bound mode.

Parameters:contentString | jQuery

The new ScrollView content.

<div id="scrollView">
  <div data-role="page">Foo</div>
  <div data-role="page">Bar</div>
  <div data-role="page">Baz</div>
  <div data-role="page">Bat</div>
</div>


<script>
$("#scrollView").kendoScrollView({
    velocityThreshold: 2
});

var scrollview = $("#scrollView").data("kendoScrollView");
scrollview.content('<div data-role="page">Item1</div><div data-role="page">Item2</div>');
</script>
Not finding the help you need?
Contact Support