I am newbie to Qt. I have to display a chunk of data in a QTableView
and filter it column wise. For this I have used QSortFilterProxyModel
, but as per requirement each column of the QTableView
should have a drop-down list which shows unique values in that column. On selection of any of these values in the drop-down, only the rows having that particular value in the column should be displayed in the QTableView
(Like you can do in Excel).
How would I implement this?