QtitanDataGridModel-view DataGrid component with rich functionality for Qt.C++ and PySideQtitanRibbonReplicates Microsoft RibbonUI interface for Qt.C++ and PySideQtitanNavigationDesignUIReplicates Microsoft Navigation Design interface for Qt.C++ and PySideQtitanChartCharts and Diagrams component for Qt.C++ and PySideQtitanDockingDockable Panels and Tool Bars for Qt.C++ and PySideQtitanFastInfosetXML Compressed format FastInfoset implementation for Qt.C++ and PySideRoadmap Development 2023
FireDataGridPowerful, modern, fast, DB-Aware Grid for Delphi-FiremonkeyFireDockingDelphi IDE/Visual Studio implementation of dock panels for Delphi-Firemonkey
When I set ItemFlags to 'Qt::ItemIsSelectable | Qt::ItemIsEnabled' in my model, alle fields are read only except for the checkboxes. A user can still check and uncheck the checkboxes even though Qt::ItemIsUserCheckable has not been set.
The only way to work around this is to disable the column with the checkboxes. Is this working as expected or am I missing something ?
With flags implemented like below checkboxes can be checked/unchecked by the user:
Sure this cannot be the way to ensure a user cannot check the checkboxes if I did not specify the ItemIsUserCheckable.
Thx
Pascal.
Edit:
I also tried
column = (Qtitan::GridTableColumn*)view->getColumnByModelColumn(EnterpriseTableModel::isBilling);
if (column) column->editorRepository()->setEditorActivationPolicy(Qtitan::NoPolicy);
No change - still able to check and uncheck the checkbox...