The problem i am facing is that the data listed in list view is in ascending order in BB10. I have read from blackberry site that group datamodel will display data either in desc or asc order.I really want them to be displayed in list view in the order they are in database. Please help me.
Asked
Active
Viewed 130 times
1 Answers
0
If you have an id
field in your database, you could use it to sort your items.
But I guess you shouldn't be using a GroupDataModel
if you don't want to group your data (if you don't sort it, how can you group?). What you need is probably an ArrayDataModel
, or your own DataModel
subclass.

Marc Plano-Lesay
- 6,808
- 10
- 44
- 75