Skip to content

Allow reversed initial sort #3

@LemonIceScream

Description

@LemonIceScream

I have a table with a date column that I wish to display initially in descending order. This is not possible because the initialSort function only allows initial data to be sorted in ascending order.

Relevant issue from original library: evancz/elm-sortable-table#9

I believe extending the initialSort function to accept either a Bool, Sorter or a new Order type would be ideal.

Thanks for maintaining this nifty little library!

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