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

add secondary sort-property #185

Open
gerpres opened this issue Jun 9, 2016 · 0 comments
Open

add secondary sort-property #185

gerpres opened this issue Jun 9, 2016 · 0 comments

Comments

@gerpres
Copy link
Contributor

gerpres commented Jun 9, 2016

hi all,
in dgrid 0.3.x I used _getQueryOptions to add another - in fact primary - sorting property prior to actually query the store.
I need this, because I want to have some sort of grouping.
The user can just select one single sort criteria, and the rendering (in the header etc.) is just fine.

We recently switched to the latest dgrid+dstore - I'm having a hard time figuring out, how to build a similar system. It seems to me, that _StoreMixin.setCollection() may be a good starting-point. but the sort-array is given to the collection "as-is".

Is there any feature I'm missing?
regards

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