Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Is it possible to use QAbstractTableModel with TableView from QtQuick.Controls?

$
0
0
I’m pretty convinced by now that it is impossible to properly use table models with TableView. I looked at the sources, and it appears TableView is built around ListView. The only question I have left — as I would have to simulate complex data structure, I’m wondering which representation is more effective: QMap<String, QVariant> or QJsonObject? Which one is cheaper to store in the model and return into QML?

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images