ListView with DataSource grouping bug

4 posts, 0 answers
  1. Fernando
    Fernando avatar
    56 posts
    Member since:
    Sep 2012

    Posted 18 Jul 2013 Link to this post

    Hi!

    In my application, I have a ListView that uses a DataSource with grouping.

    After I updated to version 2013.2.716, the links are only created correctly if I put the class and the role on the a tag. Without them, the link just breaks the navigation.
    However, if I remove the grouping from the DataSource, the item becomes clickable and works as expected, even without specifying class and role.

    Here is my template:
    <script id="list-indicator-template" type="text/x-kendo-template">
        <a href="views/valuesChart.html?IndicatorId=#: IndicatorId #&Attribute=#: Attribute #" class="km-listview-link" data-role="listview-link">
            #: Attribute #
            <span class="attribute-value">#: kendo.toString(Value, "n2") #</span>
        </a>
    </script>
    Am I missing something here? I don't think so.

    Thanks!
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 19 Jul 2013 Link to this post

    Hi Fernando,

    I have tried to reproduce your scenario, but everything works correctly. Could you please check this jsBin and tell me if I missed something?

    Regards,
    Kiril Nikolov
    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. Fernando
    Fernando avatar
    56 posts
    Member since:
    Sep 2012

    Posted 22 Jul 2013 Link to this post

    Check out this jsfiddle: http://jsfiddle.net/Dt4YZ/1/

    It does not occurs if you specify the data directly on the dataSource. Requesting the data from a external source (faked with mockjax, in this case), causes the problem.
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 23 Jul 2013 Link to this post

    Hi Fernando,

    This is bug in the behaviour of the ListView. It was already submitted and will be fixed with one of the next internal builds.

    As a small gesture of gratitude I have updated your Telerik Points balance.

    Regards,
    Kiril Nikolov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready