[TIMOB-1037] Table search needs to preserve row layout
|Fix Version/s||Release 1.4.0|
See Base UI -> Table View -> Layout 2 and conduct a search. Rows returned by the search are reconstituted from the search string, and are not the original row; HIG demands that we present the search results in a manner consistent with the original table.
I guess this was a different bug and I accidentally closed it for the wrong reasons. Oops!
- Jeff Haynie 2011-04-15
(from [9d2b8751f3fb5217af5fcacb091da1be9b94edd7]) Closes #1037: Search now loads appropriate rows from the table data. See caveats in bug. http://github.com/appcelerator/titanium_mobile/commit/9d2b8751f3fb5217af5fcacb091da1be9b94edd7"> http://github.com/appcelerator/titanium_mobile/commit/9d2b8751f3fb5...
- Stephen Tramer 2011-04-15
Okay, there is one caveat: If you use table view level event listeners to process row events, they WILL NOT work with search - this is because search is an entirely different table, and can only process events at the row level (at highest).
We may wish to add a separate event type (searchClick?) to tables as well so that search handling can be different from regular clicks (for example, showing the user the row in the table rather than performing that row's action).
- Joe Maffia 2011-04-15
Would be great having a KitchenSink demo updated :)
in the meantime, shall I simply replace those two files in my Titanium Mobile? Or do I need a full compile?