Unsolved Please how can i remove all rows on one click from a QML tableview?
-
I want to clear my QML tableview, before appending another list, how can I do that?
-
Just change model, view will be updated automatically. Or set model as empty JS array.
-
Thank you for your reply, actually I want to reset my model, because what I'm doing is displaying a model from python into a QML TableView. and I want whenever I clicked a button the model reset and fill up again with new data.