Qtableview Sorting Fails After Sethorizontalheader()
I am encountering a strange problem with PySide QTableViews after I have set a new QHeaderView instance via setHorizontalHeader(). Specifically it seems that the sorting ability of
Solution 1:
Ok, found out that setClickable(True)
will do the trick. Seems to be on by default on QTableView
header views but not on instances created manually.
Post a Comment for "Qtableview Sorting Fails After Sethorizontalheader()"