How to: Display grouped data from datasource using listview Template

2 posts, 0 answers
  1. Wilver
    Wilver avatar
    1 posts
    Member since:
    Mar 2013

    Posted 29 May 2013 Link to this post

    Hello Telerik,
    I have a kendo datasource that will load the following json data


    Using Mobile ListView Template, I want to display only the grouped data, for example:
    <li>supervisorId = manuel, Total = 66666 </li> (that is the result of 12345+ 54321
    <li>supervisor Id = luis, Total = 4521 </li>

    Please refer to my attach files for the complete code.

    Thank you for your help.
  2. Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 31 May 2013 Link to this post

    Hi Wilver,

    I am afraid that what you would like to achieve is not supported. As an alternative solution I suggest to display the group sum aggregate in the headerTemplate of the ListView. For example:
        template: kendo.template($("#tmp").html()),
        headerTemplate: "#: value # #: #",
        dataSource: pedidosDb

    I hope this will help.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top