[Solved] Making filter in QTableWidget
General and Desktop
4
Posts
2
Posters
7.8k
Views
1
Watching
-
QTableView is your better choice. By filtering you want to influence your data. That is what the model-view approach does : you need to work on your model.
If you want to stick with QTableWidget you need to
write a filter function yourself and use findItems() to get all the matching items in the table. Iterate the results to hide the filtered rows...