I just constructed a read-write TableModel
based on QAbstractTableModel
. Works, but the underlying data can change the headers of columns and rows, and I have no idea how to inform the model and views about that (so that views refresh the headers).
If I change the vertical headers (in the data) and then insert a column (through the view->model), the headers are being updated. My I use beginInsertingX
in some special way to force the update?