Mar-27-2023, 09:45 AM
Hi!
I'm newbie with PyQt5 and now I have an app for Windows with PyQt5 and a SQLite database. Showing the data in QTableView works fine, even with cell format like numbers right aligned with fixed decimals, etc. What I can't achieve is to edit data in a QTableView cell and write the changed data back to the SQLite database. Does anyone know an example app (github, etc.) or a tutorial or something similar? I could show and edit the data in extra textfields but I want to edit the data directly in the QTableView.
Thanks
Hein
I'm newbie with PyQt5 and now I have an app for Windows with PyQt5 and a SQLite database. Showing the data in QTableView works fine, even with cell format like numbers right aligned with fixed decimals, etc. What I can't achieve is to edit data in a QTableView cell and write the changed data back to the SQLite database. Does anyone know an example app (github, etc.) or a tutorial or something similar? I could show and edit the data in extra textfields but I want to edit the data directly in the QTableView.
Thanks
Hein