Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTableWidget with large dataset
Mark_AM last edited by
I am trying to make a QTableWidget that allows for very large data sets. Is there anyway to only grab the items that the user can see currently from a database and only grab the new data once the user has scrolled down so that performance is improved?
Why a QTableWidget if you have a database ? A QTableView combined with a QSqlTableModel or even a QSqlQueryModel would allow you to load smaller amounts of data. You can then implement a moving window to get data of interests.