Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Editable table view using QSqlRelationalTableModel with specifications for foreign keys
galrub last edited by
I'm trying to create an editable table view that, when editing the relational cells, will bring only specific options in the combobox.
for example, let say there are 'STUDENT' table, in that table there is foreign key to a 'CARD' table, and, when editing this column in the table view, we can only choose unused cards according to some select.
andre last edited by
Perhaps use a custom delegate?