Autodividers not sorting properly after adding dynamic content #5136

Closed
david33409 opened this Issue Oct 5, 2012 · 5 comments

Projects

None yet

5 participants

@david33409

After adding a new list item to a list view (with auto-dividers=true) and calling list view('refresh') the new items appear at the bottom of the list instead of being placed within the divider based on the first letter of the text.

Contributor
MauriceG commented Oct 5, 2012

Hi @david33409

It seems, the description of this behavior is missing in the docs.
This time there is no auto-order functionality in the listview widget and dynamical appended list items will always appear at the end of the listview.

Maurice

Contributor
MauriceG commented Oct 5, 2012

@david33409

Here is a demo to accomplish a list view reorder after dynamical adding list items:
http://jsfiddle.net/MauriceG/bwdVh/show/light/ (source view: http://jsfiddle.net/MauriceG/bwdVh/)

Maurice

Contributor

This looks like it might be a nice demo for the docs.

Member
agcolom commented Oct 6, 2012

Indeed! I am assigning to me to add this in the docs...

@agcolom agcolom was assigned Oct 6, 2012
Member

I added a link to this ticket at #4389. Closing this issue because it is not a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment