Add widget into row into QTableView
Unsolved
General and Desktop
-
Hello, in my project,i need to make a QTableView with 2 or 3 widgets into the end of every rows (3 into only one column). Is it possible to do that?
-
check
setIndexWidget()
as documented here https://doc.qt.io/qt-5/qabstractitemview.html#setIndexWidget -
Hi
Do note that setIndexWidget will become heavy if you have many rows.
In that case, using a delegate provides far better performance.