01-16-2013 04:17 PM
I have a listview that has attatched a groupedDataModel.
The groupedDataModel has 3 sections,
first section 5 items
second 6 items
third 8 items
How can I find the number of items in the groupdatamodel sections in QML ?
myList.dataModel.childCount(i);seems to always return the number of sections(3) no matter what the value of i is .
Solved! Go to Solution.
01-16-2013 06:32 PM
01-17-2013 04:37 AM
I looked at the documenation but it doesn't look like it's possible. It would be nice to have a method getGroup(index) or something and that retrieves a QVariantList with all the items within that group.