Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to delete rows in QtableView and Qabstractitemmodel
Qt Enthusiast last edited by
I have a QTableView and QAbstractitemmodel and I need to delete some of the rows .
I looked at the documentation and found
bool QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent = QModelIndex())
can some one point me relevant example of removerows
Ratzz last edited by Ratzz
@Qt-Enthusiast said in how to delete rows in QtableView and Qabstractitemmodel:
Here is an re-implement example https://myprogrammingnotes.com/addinsertremove-row-qtableview.html
Qt Doc here.