Android Question Tableview

DickyNAS

Member
Licensed User
Longtime User
Dear,
How to reset tableview display to default stage.
Everytime I refresh query, if the number of row of data are shorter than the old data, some old data will be remains on the lower parts.
Or all old data are still remain if there are no any data return from database.
Regards.
 

Peter Simpson

Expert
Licensed User
Longtime User
If memory serves me correctly @DickyNAS

B4X:
TableView.Items.Clear

Use the above to clear the TableViewbefore repopulating it again.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Which TableView are you refering to?
TableView, Erels' thread, this is an older version.
Flexible Table, this an evolution of Erels TableView. It includes direct methods to fill the Table with SQLite queries.
If it's one of the two above, both have the TableView.ClearAll method.
 
Upvote 0
Top