Search found 2 matches

Go to advanced search

by Donna McMann
Tue Mar 12, 2013 9:17 pm
Forum: Issues
Topic: how to sort listview component when using the Contacts Service
Replies: 3
Views: 1128
 
Jump to post

how to sort listview component when using the Contacts Service

Katya, Thank you for your reply but I did find a way to sort the list by using javascript on the success of invoking the Contact Service. Here is an example of the code: function sortAlpha(a,b){ //return $(a).text().toLowerCase() $(b).text().toLowerCase() ? 1 : -1; return $(a).find('[dsid="Name...
by Donna McMann
Tue Mar 12, 2013 6:43 pm
Forum: Issues
Topic: how to sort listview component when using the Contacts Service
Replies: 3
Views: 1128
 
Jump to post

how to sort listview component when using the Contacts Service

I have created an app that loads my contacts from my iphone. When the list is displayed it is not sorted alphabetically. If I put the auto dividers on, they do end up in the correct letter but even the letters are not sorted.

Is there a way to sort the contacts before being displayed?

Go to advanced search