I used QtitanDataGrid 5.22 demo with qt 5.10.1. I tried putting it into the running project and there was a problem when I inherited the QsqlTableModel. More specifically, with the QsqlTableModel flag function.
- When return: Qt::ItemIsEditable | Qt::ItemIsEnabled -> for the user to edit directly.
- When return: Qt::ItemIsEditable -> the user can not interact but I can edit the value with code.
It runs fine with QsqlTableView. But in QtitanGrid(type GridTableView), the two values above allow the user to edit directly, is there a feature or other way to prevent users interacting with a condition that depends on the value inside the model?