Page 1 of 1

Sorting of a list after data load

Posted: Tue Mar 19, 2013 4:02 pm
by Stephen

Hi, if I create a list of pubs from a database with locations, then bring in geolocation for where I am with my phone and calculate the distance to the pubs can I then sort the list of pubs based on the distance?

I know I'm missing something, but I'm that far down the rabbit hole, I just can't figure it out.


Sorting of a list after data load

Posted: Tue Mar 19, 2013 4:51 pm
by Maryna Brodina

Hello! Working on it. I'll update.


Sorting of a list after data load

Posted: Tue Mar 19, 2013 5:18 pm
by Maryna Brodina

This can be done using jquery function. Please take a look here http://api.jquery.com/category/manipu...