Hi Seven, Yes, I saw your email; thanks for the comments. The problem is same, QML is initialized before setting data in C++. But the condition i'm applying to initialize qml with empty string is not working out in case of setting model value; but working well while setting text value. As mentioned in previous mail. Do you have any suggestion on that??
On Tue, Mar 13, 2012 at 3:28 PM, Sven Anderson <[email protected]>wrote: > Hi Manoj, > > On 13.03.2012 06:47, manoj jangra wrote: > > Thanks for your valuable suggestion, it worked fine in most of the cases > > where i was setting text values from model data. > > But I still have same issue with "model" property in QML ListView. > > I tried setting model value as suggested by you: > > model:myModel?myModel:"" > > > > But its still giving me warning which says "ReferenceError: Can't find > > variable: myModel" > > > > I'm getting the data but want to get rid of this warning; is there any > > way i can do it?? > > Did you read my email? ;-) > > Sven > > > _______________________________________________ > Qt-qml mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-qml > -- WIth Best Regards Manoj Save a Paper; Save a Tree....
_______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
