This is a migrated thread and some comments may be shown as answers.

dataBound not firing any more with Q2 release

5 Answers 77 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Jiale
Top achievements
Rank 1
Jiale asked on 26 Jul 2013, 02:04 PM
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

5 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 29 Jul 2013, 09:22 AM
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!
0
Jiale
Top achievements
Rank 1
answered on 29 Jul 2013, 12:10 PM
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. 
0
Petyo
Telerik team
answered on 30 Jul 2013, 08:57 AM
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!
0
Jiale
Top achievements
Rank 1
answered on 31 Jul 2013, 09:55 AM
Hi Petyo,

I tried adding itemChange in my listview however the event doesn't get fired. Is there any ways to fire the event?
0
Accepted
Petyo
Telerik team
answered on 31 Jul 2013, 11:21 AM
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!
Tags
ListView (Mobile)
Asked by
Jiale
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Jiale
Top achievements
Rank 1
Share this question
or