ListView data-binding event attribute not handled

2 posts, 0 answers
  1. Brandon Peterson
    Brandon Peterson avatar
    50 posts
    Member since:
    May 2007

    Posted 05 Sep 2013 Link to this post

    The dataBound event can be wired up by data attribute but dataBinding cannot. Why?
    <ul data-role="listview" data-bind="source: exampleData" data-binding="onDataBinding" data-bound="onDataBound"></ul>
    <script type="text/javascript">
        function onDataBound (e) {
            console.log("this works");
        function onDataBinding (e) {
            console.log("this doesn't");
  2. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 06 Sep 2013 Link to this post

    Hi Brandon,

    This is a bug in the ListView widget which we will try to address as soon as possible. Meanwhile please initialize the widget via jQuery plug-in syntax at the init event of the corresponding view.
    <div data-role="view">
        <ul id="foo"></ul>
       dataSource: new{
            data: [{title: "foo"}, {title: "bar"}]
       dataBinding: function(e) {

    As a small sign of our appreciation for bringing this to our attention I updated your Telerik points.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top