Remove Group on Mobile List view

2 posts, 0 answers
  1. Mark
    Mark avatar
    5 posts
    Member since:
    May 2011

    Posted 18 Dec 2013 Link to this post

    I've noticed there is a bug with the grouped list view when using the datasource.  When the group is removed the listview reverts to ungrouped but the styling is not updated.

    I discovered the fix below... but the framework should handle this automatically.

    (Tasks is the DataSource Object)

    tasks.group({field: "Importance"});
    The grouped listview looks fine. Until...
    tasks.group([]);
    Group is removed but the list formatting does not revert to the appropriate style.  

    The following manual updates need to happen:
    $("#ulList").removeClass("km-listgroup");
    $("#ulList").addClass("km-list");

    Now it looks acceptable.

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 19 Dec 2013 Link to this post

    Hi Mark,

    Thank you very much for reporting this.

    I have logged it in our internal bug tracker, so it will be fixed with an upcoming internal build.

    Thank you again for bringing this up.

    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
Back to Top