I am using the iPhone simulator and when I cut and paste the KitchenSink table_view_layout_2.js into my sample project the search does not work correctly. If I enter "3" into the Search Bar it shows a blank row, then Fred Smith 13, Fred Smith23, etc. Why did I get a blank row instead of Fred Smith 3? If I enter "2" into the Search Bar it shows a blank row, then Fred Smith 12, Fred Smith 20, Fred Smith 21, etc. Why did I get a blank row instead of Fred Smith 2?
It works when I open the KitchenSink app with the iPhone simulator but the same code (copy paste the entire table_view_layout_2.js) in my own project is acting funny with the search.
I am using SKD 4.1. Any ideas what could possibly going wrong?
(The only reason I even came to the point of copying and pasting the entire file was because I was seeing this exact issue in my current project and couldn't figure out why it worked for KitchenSink.)
Thanks for any help!
The difference between my project was that I was opening the window using win.open() as opposed to KS using Titanium.UI.currentTab.open(win). I open the window with the searchBar from a tab the search works correctly. A post from Olivier to the Q: "Hide Tab Bar in Android" showed how to do this through the whole project.