jquery/jquery-mobile — pull request #3302 by townxelliot (2011-12-19 17:32:21+00:00)
Title: Add autodividers functionality to listview

Autodividers can be used to autogenerate dividers for a listview by setting data-autodividers="alpha" (dividers are unique, uppercased single characters from list items) or data-autodividers="full" (unique full text strings selected from list items) on the ul element of the listview.

It's also possible to apply a custom selector to find the elements to be used for divider text, with data-autodividers-selector="...".

This relates to https://github.com/jquery/jquery-mobile/pull/2466, but is a different implementation which will automatically update the list dividers if the list elements change. It also has a fairly thorough test suite and documentation.