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

Listview + MVVM Issue...

2 Answers 47 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 1
Robin asked on 09 Sep 2013, 11:48 PM
I am having an issue with a ListView when it is grouped or when building it using MVVM.

I can build the mobile list view not using MVVM and it grouped, and it works fine (http://jsbin.com/atiQeJo/1/edit)
But, if I build the ListView using the same data, same template, same datasource, I get a bizarre output (http://jsbin.com/EteBaPI/2/edit).  The anchor tag links in the listview aren't sized properly like they are on the non-MVVM sample, it is only on the work like a regular anchor tag would work.  if I remove the group in the MVVM sample, it goes back to looking/working fine (http://jsbin.com/uZowAgU/1/edit)

Ok, well while digging around the output, it appears as though if I add class="km-listview-link"  to the item template in the MVVM view, it will work/look just like the non-MVVM sample (http://jsbin.com/EteBaPI/3/edit)

Guess I'll just go with that.

2 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 11 Sep 2013, 07:16 AM
Hello Robin,

I am sorry for the inconvenience caused. The bug you have stumbled upon is one we have discovered and resolved after the official release. You can download and apply an internal build, which should resolve the problem in question. Of course, your workaround is also a valid one. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Robin
Top achievements
Rank 1
answered on 11 Sep 2013, 01:04 PM
Thanks for the note Petyo.  The workaround is simple enough, so I'll just go with that until the next full release.

Thanks.
Tags
ListView (Mobile)
Asked by
Robin
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Robin
Top achievements
Rank 1
Share this question
or