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 TableView

    How do i use QAbstractListModel from within qml TableView/TableViewColumn to access multiple roles provided by the model?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.