mysql – No data display after QTableView freeze column?

Using QSqlTableModel in PYQT5 to read MySQL database, it can be correctly displayed in QTableView. After using QT5 instance to freeze the column example, there is no data displayed in tableView. It needs show() to display data in a new window. How to display it in the old tableView? class Ui_MainWindow(object): def setupUi(self, MainWindow): … Read more