Unsolved how to delete rows in QtableView and Qabstractitemmodel
-
Hi All
I have a QTableView and QAbstractitemmodel and I need to delete some of the rows .
I looked at the documentation and foundbool QAbstractItemModel::removeRows(int row, int count, const QModelIndex &parent = QModelIndex())
can some one point me relevant example of removerows
-
@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.