I'm wondering if anyone has a suggestion for how to refresh the data for a tableview and for it to display!
I have a UI with a search bar, and the resulted list is displayed in a tableview. The textfield (search bar) action just runs the function to get new data, then run through my datasource class for the tableview. I know that everything works as I've tested it without the search bar action, but that is I believe where the problem is.
I've tried tableview.refresh() and tableview.refresh_data() in my action function to no avail.
I've never tried to do something like this, so I'm not sure exactly how it should work. I know how to get initial data displayed in a tableview, but replacing it entirely with different data via a function ....?
Thanks guys always for your help!