iOS Question tableview refilling problems

ilan

Expert
Licensed User
Longtime User
hi

i am using this code to create a tableview: https://www.b4x.com/android/forum/threads/tableview-action-swipe-buttons.61111/

everything is also working fine. no when i want to refill the tableview its not working.

i have a list where i store my items (only strings) and all changes that are made are made to the list
after i have updated the list i want to view the result in a tableview so i clear the tableview and refill it but
its not working. so what i did is intialize again the tableview and remove it from his parent and add it again to the panel and then it worked. but is this the right way to do?

thanx
.
 

ilan

Expert
Licensed User
Longtime User
Are you calling TableView.ReloadAll after you add the items?

No ...:oops::oops::oops:

(thank you erel now its working fine :))

i also noticed that the "TableView1_SelectedChanged" event will be raised only if i swipe on the item and not on click.
is that correct? (should i open a thread for this question? )
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Upvote 0
Top