Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Autodividers not sorting properly after adding dynamic content #5136

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

Autodividers not sorting properly after adding dynamic content #5136

david33409 opened this issue Oct 5, 2012 · 5 comments

Comments

@david33409
Copy link

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.

@MauriceG
Copy link
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

@MauriceG
Copy link
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

@toddparker
Copy link
Contributor

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

@agcolom
Copy link
Contributor

agcolom commented Oct 6, 2012

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

@jaspermdegroot
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants