Can i group items in a listview without a datasource?

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

    Posted 01 Mar 2014 Link to this post


    I need your help with some special requirement.
    I'm building a theme for a popular ecommerce engine using TPL files and vqmod. I have not access to modify the query, need to by clean.

    And i need to fill the list view some like this:

    <?php if ($customers) { ?>
    <?php foreach ($customers as $customer) { ?>
       <h3 class="time"><?php echo $customer['date_added']; ?></h3>
       <h3><?php echo $customer['name']; ?></h3>
       <a data-role="button" data-rel="external" style="float: right;" href="mailto:<?php echo $customer['email']; ?>" data-icon="compose">Email</a>
       <p><small><?php echo $column_email; ?>: <?php echo $customer['email']; ?></small></p>
       <p><span><b><?php echo $customer['status']; ?></b></span></p>
    <?php } ?>
    <?php } else { ?>
       <h2><?php echo $text_no_results; ?></h2>
    <?php } ?>

    So, my problem is: Can i group items in a listview without a datasource?

    My example is here, please advise...

  2. Kiril Nikolov
    Kiril Nikolov avatar
    2596 posts

    Posted 03 Mar 2014 Link to this post

    Hi Orlando,

    Grouping items in a Kendo UI Mobile ListView is not supported without a dataSource. For grouping items, the filter property of the Kendo UI DataSource is used, and there is not a viable workaround that we can offer at the moment.

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