Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer some solution for model sorting #3

Open
special opened this issue Apr 19, 2018 · 0 comments
Open

Offer some solution for model sorting #3

special opened this issue Apr 19, 2018 · 0 comments

Comments

@special
Copy link
Contributor

special commented Apr 19, 2018

Couple possible appproaches here:

  1. QSortFilterProxyModel equivalent to define/perform sorting QML-side, see also https://github.com/oKcerG/SortFilterProxyModel
  2. Add a sortRole to BackendJsonListModel and sort the model using that role on the Qt side
  3. Add a complex QAIM-like model type which can preserve order from the backend, and possibly support incremental loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant