Access multiple c++ data model roles within TableViewColumn
-
In ListView I could access all roles of QAbstractListModel by only mentioning them. TableViewColumn can access only one. If I have the model in qml itself I can access multiple roles by using nested ListElement per ListElement and using syntax like
@styleData.value.get(0, 1, .....).roleName@
in itemDelegate of TableViewHow do i use QAbstractListModel from within qml TableView/TableViewColumn to access multiple roles provided by the model?