[PyQt] How to store date in Sqlite and view it in column in QTableView?

nenad nenad.lamza at sk.t-com.hr
Fri Jun 15 14:06:00 BST 2018


With PostgreSQL everything is ok.

But I have a problem how to store date in Sqlite and view it in column in
QTableView (with Sqlite database as a model for QTableView). Adding new rows
with date type seems like it adds some other type, not date. And date column
sort in QTableView doesn't work as it is supposed to.

Has anybody an example how to properly do that?



--
Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html


More information about the PyQt mailing list