afaik the use of JSONListModel not intended the sorting functions.
you need to make own model and sort json data before pushing it to model.
On 17.11.2013 18:39, Tigre-Bleu wrote:
Hi,
I have a ListView which loads a model from JSON with JSONListModel. The model
contains items and category
Ok, thanks
I will create my own model with sorting capabilities
Antoine
- Mail original -
De: Andrey Kozhevnikov coderusin...@gmail.com
À: devel@lists.sailfishos.org
Envoyé: Dimanche 17 Novembre 2013 14:05:39
Objet: Re: [SailfishDevel] ListModel sorting in QML
afaik the use
-
De: Andrey Kozhevnikov coderusin...@gmail.com
À: devel@lists.sailfishos.org
Envoyé: Dimanche 17 Novembre 2013 14:05:39
Objet: Re: [SailfishDevel] ListModel sorting in QML
afaik the use of JSONListModel not intended the sorting functions.
you need to make own model and sort json data