dataBound not firing any more with Q2 release

6 posts, 1 answers
  1. Jiale
    Jiale avatar
    5 posts
    Member since:
    Jun 2013

    Posted 26 Jul 2013 Link to this post

    Hi there,

    The dataBound event used to fire before Q2 and not any more. I am still with free trial version . Does that matter?

    Also dataSource calling remote odata service returns nothing with Q2. Is there any API changes to the dataSource?

    Thanks
    Jamie
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 29 Jul 2013 Link to this post

    Hello Jiale,

    I believe that your listview configuration uses endless scrolling or press to load more - there are some breaking changes (discussed in the forums) which we introduced in our Q2 release - the virtual mode for example no longer triggers databinding/databound events, using itemChange instead (due to performance reasons). 

    If this is your case, please review our updated demos - the dataSource instances have been configured in a different manner to reflect the new virtual mode approach. 

    Regards,
    Petyo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Jiale
    Jiale avatar
    5 posts
    Member since:
    Jun 2013

    Posted 29 Jul 2013 Link to this post

    Hi Petyo,

    Thanks for your reply. Yes I am using endlessScroll and find its working different than before. 

    Is itemChange a new event added to Listview? There is no such event in API conference. 
  5. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 30 Jul 2013 Link to this post

    Hello Jiale,

    The itemChange event is an internal one, related to the MVVM support which each widget has. However, we will consider documenting it, since it may be beneficial in certain cases. 

    Regards,
    Petyo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Jiale
    Jiale avatar
    5 posts
    Member since:
    Jun 2013

    Posted 31 Jul 2013 Link to this post

    Hi Petyo,

    I tried adding itemChange in my listview however the event doesn't get fired. Is there any ways to fire the event?
  7. Answer
    Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 31 Jul 2013 Link to this post

    Hello,

    My guess is that you have supplied it in the widget constructor or as a data attribute. Unfortunately, as the event is an internal one, this is not supported. You will have to bind to it afterwards: 

    $("#my-listview").data("kendoMobileListView").bind("itemChange", function(e)  {});

    Regards,
    Petyo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready