newTableView search box

Hey,

I have a scene loads with a tabBar widget where I want to fetch data from an SQLite database (I can handle that part) and I would like to add search box into the scene to search and display data back to TableView which will show results based on the filter

What I need help with is the search field and tableview… anyone?

e.g,
http://vardel.com/up/do.php?imgf=04_1213468128731.png
http://vardel.com/up/do.php?imgf=04_1213468128732.png

I have not found anything in the forum to achieve that.

Any help will be appreciated

~Mustafa
[import]uid: 147340 topic_id: 30589 reply_id: 330589[/import]

You will need a native.textField to handle the search box and when you get an event that indicates the field was either submitted or ended then you can get the value of the text, execute your search and then fill out the rows of the table view. [import]uid: 19626 topic_id: 30589 reply_id: 123209[/import]

You will need a native.textField to handle the search box and when you get an event that indicates the field was either submitted or ended then you can get the value of the text, execute your search and then fill out the rows of the table view. [import]uid: 19626 topic_id: 30589 reply_id: 123209[/import]

Rob,
I did exactly what you said and it worked. Do you know if Corona will have a search widget? It will make thing way easier that what I did.

[import]uid: 147340 topic_id: 30589 reply_id: 135536[/import]

I don’t know if that’s on the roadmap or not, but since we give you the core tools that are not hard to implement and with bigger fish for us to fry first… [import]uid: 199310 topic_id: 30589 reply_id: 135537[/import]

Rob,
I did exactly what you said and it worked. Do you know if Corona will have a search widget? It will make thing way easier that what I did.

[import]uid: 147340 topic_id: 30589 reply_id: 135536[/import]

I don’t know if that’s on the roadmap or not, but since we give you the core tools that are not hard to implement and with bigger fish for us to fry first… [import]uid: 199310 topic_id: 30589 reply_id: 135537[/import]