Update the ScrollView HTML content.

Important: This method is not supported in data bound mode.


content String | jQuery

The new ScrollView content.

Example - change widget's content after initialization

<div data-role="view" data-init="changePages">
  <div id="scrollView" data-role="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>

var app = new;

function changePages() {
  var scrollview = $("#scrollView").data("kendoMobileScrollView");
  scrollview.content('<div data-role="page">Item1</div><div data-role="page">Item2</div>');
In this article