Skip to content

Automatic secondary sort fields #3

Description

@stevesims

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions