Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Organise a list view - grouping?

I have a list view:

ListView *listView = new ListView();
SchoolListFactory *schoolListFactory = new SchoolListFactory();
GroupDataModel *model = new GroupDataModel();

 The data is populated from SQL. In the SQL I have a field called 'difficulty'. 

I was wondering, how can I arrange the list view by difficulty. So there is a number of options under easy, some under medium etc.


Much like the name list here:



I've looked at the docs but can only seem to find QML examples. Does anyone know how to do this in C++?

BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Posts: 313
Registered: ‎05-31-2010
My Device: Alpha 10, Bold 9900, Storm 9530, Tour 9630, Curve 9320, Curve 8900
My Carrier: All

Re: Organise a list view - grouping?

[ Edited ]

You can find answer in the bottom of this article.



Good good study, day day up