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

Achieving grouped list view programmatically?

1 Answer 80 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Gareth
Top achievements
Rank 1
Gareth asked on 29 Apr 2012, 06:41 PM
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

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 02 May 2012, 10:10 AM
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!
Tags
ListView (Mobile)
Asked by
Gareth
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or