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

Remove Group on Mobile List view

1 Answer 11 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 18 Dec 2013, 11:12 PM
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.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 19 Dec 2013, 07:58 AM
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!
Tags
ListView (Mobile)
Asked by
Mark
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or