Edit this page

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

<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.
      console.log("ListView is ready to bind to data").
    }
  });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy