Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enables multisorting #36
However when it's set to true, you can sort data by several selected columns. The most recent selected column has the smallest precedence.
The generated request looks like this:
Of course to get this working, you'll need a backend which is able to parse the above format.
Please note that this commit breaks backwards compatibility a bit. Now if you want to initialise the sort-order property, it should be done with an array like this. Just wrap your previous object in an array.
@balping Nice! Just got a chance to look at your PR.
The breaking change is ok to me and it is necessary.
But I think it would be better if you could make the multisort to react to modifier key (like holding the
and in the method declaration
What do you think? Would love to hear your opinion on this. :)