10-31-2012 05:05 PM - edited 10-31-2012 05:10 PM
In the QML I have a emply ListView object and then it is populated with some data on app startup.
When the user select a item I want to delete or when the user selects the Add button I want to add a new item the list.
Looked at the custom listview example and isn't want i wanted. I just want to delete and insert a new item.
Is this doable with the ListView object? I read in one post where suggested to reset the datamodel and then add it again.
Edit: in the Listview object there is a get DataModel(). Will try that.
10-31-2012 10:50 PM