Qt 6.11 is out! See what's new in the release
blog
[SOLVED]switch columns in a QSqlRelationalTableModel
General and Desktop
5
Posts
3
Posters
3.5k
Views
1
Watching
-
Hi,
is it possible to change the order of columns into a QSqlRelationalTableModel without having to manually specify a query? For instance, if I've got a table with (surname, name) and I want to display it as (name, surname), is there an easy and handy way? -
[quote author="Eddy" date="1318272331"]void QHeaderView::moveSection ( int from, int to )[/quote]
Thanks, this is perfect!