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

Automatic secondary sort fields #3

Open
stevesims opened this issue May 4, 2018 · 0 comments
Open

Automatic secondary sort fields #3

stevesims opened this issue May 4, 2018 · 0 comments

Comments

@stevesims
Copy link
Owner

stevesims commented May 4, 2018

It is already possible to have a secondary sort field (i.e. where one secondarily sorts based on a different column when values in the primary sort are otherwise the same) by writing a custom sort method.

An idea however could be to allow for a secondary flag on a field definition. This flag could indicate that the field should be used for secondary sorting.

Further, this could potentially allow for multiple secondary sort fields. The priority order would be the order in which fields are defined.

This may require changing how the sort methods operate - although that may be transparent to the component user.

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