How to create filter rows for Qtableview with using QSqlTableModel.?
问题 Is it possible to create row filter for Qtableview with QSqlTableModel. I am sing " QSqlTableModel" to show the data on Qtableview from SQLite thats working. But i am trying to filter rows. When i am executing the code i am getting below error is line 44, in for row in range(self.model.rowCount()) AttributeError: 'QSqlTableModel' object has no attribute 'item' I Tried but did not get any solution. Is it possible to make this with QSqlTableModel? i want to show filtered items from tableview