QTableView row selection highlight pyside2 issue
-
I'm having problems with getting the full row to be highlighted on selection in a QTableView despite have done:
self.setSelectionMode(QAbstractItemView.MultiSelection)
self.setSelectionBehavior(QTableView.SelectRows)Initially only the column clicked on highlights. If I drag another window over the table window and then bring the table window back to the top the full row is highlighted. If I click and drag within a column cell the full row is hightlighted.
-
Hi
It sounds like a repaint issue or something. I have not noticed in c++.
You could hook up to one of the selectionChanged signals for QTableView
and call update just to check. -
Ok. i cant find any other reporting that issue.
You could look in https://bugreports.qt.io
If you can reproduce it with a minimal example, then open bug report.