{"issue":{"milestone":null,"user":{"login":"townxelliot","id":83619,"url":"https://api.github.com/users/townxelliot","avatar_url":"https://secure.gravatar.com/avatar/b3f248090a1cdc0a951a01a1083be2d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b3f248090a1cdc0a951a01a1083be2d0"},"title":"Add autodividers functionality for listviews","created_at":"2011-10-26T14:33:56Z","labels":[],"updated_at":"2011-12-19T17:33:04Z","state":"closed","id":2057244,"pull_request":{"patch_url":"https://github.com/jquery/jquery-mobile/pull/2851.patch","html_url":"https://github.com/jquery/jquery-mobile/pull/2851","diff_url":"https://github.com/jquery/jquery-mobile/pull/2851.diff"},"html_url":"https://github.com/jquery/jquery-mobile/issues/2851","closed_at":"2011-10-26T17:23:49Z","body":"Can be used to autogenerate dividers for a listview by\r\nsetting data-autodividers=\"alpha\" (dividers are unique,\r\nuppercased single characters from list items) or\r\ndata-autodividers=\"full\" (unique full text strings selected\r\nfrom list items) on the ul element of the listview.\r\n\r\nIt's also possible to apply a custom selector to find the\r\nelements to be used for divider text, with\r\ndata-autodividers-selector=\"...\".\r\n\r\nThis relates to https://github.com/jquery/jquery-mobile/pull/2466,\r\nbut is a different implementation which will automatically\r\nupdate the list dividers if the list elements change. It also\r\nhas a fairly thorough test suite and documentation.","number":2851,"url":"https://api.github.com/repos/jquery/jquery-mobile/issues/2851","comments":6,"assignee":null},"comment":{"user":{"login":"townxelliot","id":83619,"url":"https://api.github.com/users/townxelliot","avatar_url":"https://secure.gravatar.com/avatar/b3f248090a1cdc0a951a01a1083be2d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b3f248090a1cdc0a951a01a1083be2d0"},"created_at":"2011-12-19T17:33:04Z","updated_at":"2011-12-19T17:33:04Z","id":3206433,"body":"Please see #3302 for the updated pull request, which better separates the changes into different categories.","url":"https://api.github.com/repos/jquery/jquery-mobile/issues/comments/3206433"},"action":"created"}