On Sunday 30 January 2011 18:19:25 [email protected] wrote: > Use the setProperty > http://doc.qt.nokia.com/4.7-snapshot/qml-listmodel.html#setProperty-method > It's not an ordinary JavaScript object. > > I.e. Instead of > "tagColumnModel.get( pos ).tagState = "newState"; " > Do > "tagColumnModel.setProperty(pos, "tagState", "newState"); "
Tried that, but it was a bit buggy. I solved the issue by going 100% on a c++ model and checking the "state" ( a Q_PROPERTY ) from there. _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
