kaushal_gaurav
18th August 2008, 06:41
Hi,
I am using the function " QSortFilterProxyModel::sort(col, Qt::AscendingOrder) " to sort the model and display the sorted result in a QTableView.
The model is not properly sorted but only some of the items in the column are sorted.
Also set the Enable froperty of table. I have also tried using sortByColumn() of QTableView.
Help.....!!!!
Regards,
Gk
I am using the function " QSortFilterProxyModel::sort(col, Qt::AscendingOrder) " to sort the model and display the sorted result in a QTableView.
The model is not properly sorted but only some of the items in the column are sorted.
Also set the Enable froperty of table. I have also tried using sortByColumn() of QTableView.
Help.....!!!!
Regards,
Gk