Hope someone can help me here.
I have a pull to refresh function inside an app that will run my HTTP request function and load in the data from the XML feed.
This works fine, but it leaves behind the table separator row lines behind the refreshed content.
Any ideas how to get rid of those?
I added tableview.setData() to clear actual data out on refresh, which works fine, but it doesn't clear the separators.
Could anyone let me know what I need to change please?
"but it doesn't clear the separators."Are you trying to say it's not clearing separator line of table rows ? And even it will not clear that. I don't know about native xcode but in Titanium when you create a table view and add it to window and even if there is not data tableview will have the look like a table with default row size and default separator lines (a blank table view). If you don't want to show that separator lines in empty table view than you can assign table view's separator style to NONE check here,
or separator color to transparent.
Does tableview.setData(); work any better?
Try to set a footer on the table view. refer to : http://developer.appcelerator.com/question/132178/footer-in-table-view
Think you can help? Login to answer this question!