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.