Skip to content

table-sort.js cannot sort by custom data #442

@midlan

Description

@midlan

Imagine table where I put to one of the columns timing in miliseconds.
95674950-fe64c300-0bb3-11eb-926c-6a82efcd5ea6

I would like to sort that column (find some of the slowest queries). Currently it sorts the column like a string, so it leads to not sort the data properly.

Solution would be to support some dataset value to help with the proper sorting. E.g. data-position HTML attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions