How to implement search view feature with listview

hi all,
how do i implement the uisearch view feature with list view or table view.Please guide me. thanks… [import]uid: 42177 topic_id: 12399 reply_id: 312399[/import]

I’m also interest in this feature. How can do it? [import]uid: 8908 topic_id: 12399 reply_id: 46459[/import]

hi all,
how do i implement the uisearch view feature with list view or table view.Please guide me. thanks… [import]uid: 42177 topic_id: 12399 reply_id: 312399[/import]

I was looking for “seaching/filter” a listview for this too.

Did you guys find out anything.

We don’t have a search widget yet.  But you can implement your own.  Ideally your data is in a table external to your tableView.  You could offer a native.newTextField() and on submit, run through your table looking for the data then you the tableView’s scrollToIndex() function to jump the tableView to the right row.   Of course your data table and the tableView’s index has to match up, or if you’re using category rows, you have to put the index in the data so you know which rows go with which.

With all due respect, Rob, it is a very complicated process to nail down a reasonably native looking search box. Other than horacebury’s old example based on widget 1.0 code I have not seen any samples anywhere on the Corona SDK forums etc.

It would be real cool if the “in-progress” widget.newSearchField is finished eventually or in its absence, a simple sample doing what you briefly outline above is placed in the Corona SDK samples inventory. How about tackling that in the form of a simple tutorial? 

Thank you very much for considering this. All the best. 

Kerem

hi all,
how do i implement the uisearch view feature with list view or table view.Please guide me. thanks… [import]uid: 42177 topic_id: 12399 reply_id: 312399[/import]

I was looking for “seaching/filter” a listview for this too.

Did you guys find out anything.

We don’t have a search widget yet.  But you can implement your own.  Ideally your data is in a table external to your tableView.  You could offer a native.newTextField() and on submit, run through your table looking for the data then you the tableView’s scrollToIndex() function to jump the tableView to the right row.   Of course your data table and the tableView’s index has to match up, or if you’re using category rows, you have to put the index in the data so you know which rows go with which.

With all due respect, Rob, it is a very complicated process to nail down a reasonably native looking search box. Other than horacebury’s old example based on widget 1.0 code I have not seen any samples anywhere on the Corona SDK forums etc.

It would be real cool if the “in-progress” widget.newSearchField is finished eventually or in its absence, a simple sample doing what you briefly outline above is placed in the Corona SDK samples inventory. How about tackling that in the form of a simple tutorial? 

Thank you very much for considering this. All the best. 

Kerem