02-21-2013 01:20 PM
I have searched through forums and examples but in all example listview/datamodel are bound from the starting of the app only .I need to create and bind it dynamically. Because my listview data will depend upon selection of previous form. Need to do it using qml.Can someone help me?
Solved! Go to Solution.
02-21-2013 01:48 PM
I suggest you to refer with the sample application of tldr ,accounts or rssnews. After you read it all through, you will find the solution for you.
02-25-2013 09:56 AM
Hi, I have gone through the examples. I have dynamically generated data,added to qvariantlist and then datamodel. Checked that data was inserted in datamodel(checked its size). But when I called it in qml using datamodel: its displaying blank.
02-25-2013 10:12 AM
I have not seen your souce code only can guess the possibility.
Have you set up the query, like "query: "/xxx/yyy""? Can you add log to the your customized DataSource to check the loop of data iteration?
If you can show your brief source code, it willl be quick to analysis.
02-25-2013 11:09 AM
I don't get it. the query what i mentioned is for parsing the xml or json.
May you show part of your source code?