Listview + MVVM Issue...

3 posts, 1 answers
  1. Robin
    Robin avatar
    13 posts
    Member since:
    Nov 2012

    Posted 09 Sep 2013 Link to this post

    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. Answer
    Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 11 Sep 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Robin
    Robin avatar
    13 posts
    Member since:
    Nov 2012

    Posted 11 Sep 2013 Link to this post

    Thanks for the note Petyo.  The workaround is simple enough, so I'll just go with that until the next full release.

    Thanks.
Back to Top