Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2886] Search remote with searchBar in tableView

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusResolved
ResolutionInvalid
Resolution Date2011-04-15T03:32:04.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsipass1, local, remote, search, searchbar, searching, tableview
ReporterSindre Sorhus
AssigneeBlain Hamon
Created2011-04-15T03:32:04.000+0000
Updated2017-03-24T18:19:53.000+0000

Description

It would be nice to be able to use the searchBar attached to the tableView to get remote results.

Like an option to skip searching the local tableView. Then you can bind the "event" yourself and fill the tableView with the results.

Comments

  1. Stephen Tramer 2011-04-15

    Can already be done by creating independent search bar and populating a table with results from it. Tableview searchbars are tied to tableview data.

  2. Sindre Sorhus 2011-04-15

    Yes, I know, but it still would be useful if we could attach a searchBar to a tableView and still get results from a source and then fill the tableView. By having the searchBar attached to the tableView it can be hidden by default, and visible when the tableView is scrolled down. You can see this behavior in Mail, Notes and Calendar.

  3. Alberto Marcone 2011-05-12

    my guess is that in Mail, Notes and Calendar they do like Stephen said, because those native components are just connected to tableviews data.
  4. Sindre Sorhus 2012-01-02

    Not really true, since Mail also searches remotely.
  5. Sindre Sorhus 2012-03-26

    Can this be considered for reopening? See my previous comments.

JSON Source