TableViewCells are getting overlapped after search in titanium

I am having label on tableViewCell instead of title property. And I am performing search by taking value from searchBar and after 4 letters in searchBar search method is called in which rows are getting refreshed with new datasource. And datasource is getting changed but cells are getting overlapped and consequently I am getting overlapped text. And I am getting error in IOS 7.0 SDK only. Any suggestions?

I have tried setting tableView.data null.

And also filterAtrribute property to be null. And as I am not defing filterAttributeProperty then searchTableView is getting no results until there is text in `searchBarField.

And if I am emptying searchBarField then tableView is not responding.

Answers


This has something to do with the reusing of table cells. Do you have any options to reuse them or not?


Need Your Help

Why can't I change sql_mode permanently?

mysql command-line mysql-5.6 sql-mode

I an currently using mysql server 5.6 in windows 10. while using mysql, an error keeps appearing that goes as something like this "the following column does not have a default value" i read on the

Saving a Struts2 Form to a Database

java hibernate struts2

I'm am making a small application to teach myself Struts2 and how to use JSP.