Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Filter a TableView using Geo Location


I have a TableView that has "Current Location" as the first row entry. The TableView does have a search bar as well.

When this is clicked it calls a JSON request and then returns a city name. I then want to use this city name to filter the list of tableview data (as is done when you search the view). I would like the tableview to then filter on the value returned from the JSON call. This will allow the user to ensure his location is in the list.

Any idea on how to do this? I tried setting the filterAttribute but this didn't do the trick.

Many thanks in advance for your assistance.

— asked November 29th 2010 by Bruce Elgort
  • filter
  • search
  • tableview

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.