dataBinding

Fires when the ListView is about to be bound.

The event handler function context (available via the this keyword) will be set to the widget instance.

Example

Open In Dojo
<div id="listView"></div>
<script>
  $("#listView").kendoListView({
    template: "<div>#: name#</div>",
    dataSource: [
      { name: "John Doe", age: 30 }
    ],
    dataBinding: function(e) {
      // call e.preventDefault() if you want to cancel binding.
/* The result can be observed in the DevTools(F12) console of the browser. */
      console.log("ListView is ready to bind to data");
    }
  });
</script>
In this article