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

Model/View: using single view and single model with several sets of data

$
0
0
I think it’s reading it as javascript not as part of the delegate. I think you might want to change the role used by the delegate by doing something like: styleData.role = “number” This seems to not be very well documented. I inferred this from these two sources: http://stackoverflow.com/questions/22874387/qml-tableview-access-model-properties-from-delegate http://qt-project.org/doc/qt-5/qml-qtquick-controls-tableview.html#itemDelegate-prop

Viewing all articles
Browse latest Browse all 4972

Trending Articles