Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

tableView not clearing data but appending it

Hello, I have a tableview that lists a bunch of categories and once a category is selected it switches to another tableview where all the rows are take from the server.

Works greate accept when I click back to the categories and select a different one. It just appends all the rows to the ones that were previously picked.

I've tried giving them all unique classNames bassed on the category and row they are in. I've also tried using setData([]) before adding it. I've even tried removing the tableView from the window.

Your help would be appreciated.

— asked November 5th 2010 by Matt Hebs
  • append
  • clearing
  • empty
  • tableview
1 Comment
  • add some code?

    — commented November 5th 2010 by Aaron Saunders

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.