Hi
i'm using a QtableView with a QSortFilterProxyModel for sorting rows.
how can i know what is the currently sorted column (and in what order)? i can't find anywhere in the docs...
Thanks
Hi
i'm using a QtableView with a QSortFilterProxyModel for sorting rows.
how can i know what is the currently sorted column (and in what order)? i can't find anywhere in the docs...
Thanks
Hi. See QHeaderView::sortIndicatorOrder() and QHeaderView::sortIndicatorSection(). The headers are accessible via QTableView::horizontalHeader() and QTableView::verticalHeader().
J-P Nurmi
borges (21st September 2007)
Bookmarks