Achieving grouped list view programmatically?

2 posts, 0 answers
  1. Gareth
    Gareth avatar
    8 posts
    Member since:
    Jun 2012

    Posted 29 Apr 2012 Link to this post

    Hi,

    I'm having a problem programmatically creating a grouped list view that looks like this (from the basic listview demo) :

    http://www.captainsjob.com/test/cj/images/listscreen.png 

    I've created a cut down demo that recreates my problem page in as simple a way as possible. In the real page I'm using Backbone JS and underscore templating. I can't use

    new kendo.mobile.Application()

    in this case (which works by the way).

    Here is the test page showing my problem. The result is a much simpler list with no grouping. It's missing lots of styles but I don't know why :

    http://www.captainsjob.com/test/cj/test.html 

    Can you have a look and tell me what I'm doing wrong? It doesn't look like the grouped list view

    Thanks
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 02 May 2012 Link to this post

    Hello,

    The data attribute configuration is not taken into account when the widget is initialized with the jQuery plugin syntax. You should replace the data-attributes with a configuration passed of the kendoMobileListView method.


    All the best,
    Petyo
    the Telerik team
    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
Back to Top