Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Changing color of a cell in TableView, which has its model from cpp
kradhika981 last edited by
I have a TableView in QML, it has a model defined in cpp class using QAbstractTableModel. On a particular event change, I want to change the color of a particular cell (row, column) of the TableView.
Just a wild guess but wouldn't returning the color you want for the BackgroundRole do what you want ?