Unsolved QTableView model
-
Did you change the table in between ?
-
@SGaist No
-
Ok, can you show the code that triggers that behavior ?
-
-
I can't reproduce the error. Can you give a step by step set of instruction to trigger the problem ?
-
@SGaist, Run the application.
Double click by database "decanat".
Double click by table"ball".
Double click by table"dis".
Again double click by table"ball".
Result:
-
Sorry, can't reproduce it here. Which version of Qt + Windows are you using ?
-
@SGaist said in QTableView model:
Sorry, can't reproduce it here. Which version of Qt + Windows are you using ?
Qt 5.5.1 mingw x86
Windows 8.1 x64 -
Ok, I'm on more recent version.
What about MySQL ?
-
@SGaist MySQL Server 5.5
-
@PowerMosts
Have you tried this? It may be more to your liking.ui->tableView->resizeColumnsToContents();
Mike
-
@mjsurette said in QTableView model:
Have you tried this? It may be more to your liking.
ui->tableView->resizeColumnsToContents();Mike
it did not help me