Open
Description
openedon Sep 12, 2020
Sorting on columns whose schema type is datetime
does not work. It instead sorts the (string) value inside that column alphabetically ascending or descending.
Steps to reproduce: Go to https://elastic.github.io/eui/#/tabular-content/data-grid-schema-columns#schemas and try to sort by the datetime
field in the column and see how the rows are not ordered by date, but instead by the alphabetical order of the week name in the front:
Current workaround:
You need to register a custom schema detector with a fixed comparator
function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment