So I have my own lessThan function to sort, but it's only sorting based on the first column. Is there a way to tell which column is attempting to be sorted? Sometimes the documentation assumes you know every aspect of qt, not all of us do!![]()
So I have my own lessThan function to sort, but it's only sorting based on the first column. Is there a way to tell which column is attempting to be sorted? Sometimes the documentation assumes you know every aspect of qt, not all of us do!![]()
Last edited by killerwookie99; 15th September 2008 at 19:42.
Did u happen to look at QSortFilterProxyModel::setFilterKeyColumn ???![]()
I have when I use it and see the output it's always 0...
Ok by dumb luck I figured out that if you do a left or right .column() it returns the data column it's in. I guess this'll work...
Bookmarks