Replies: 1 comment
-
Agree, guessing initial sort direction is really weird. Wouldn't it be better to have ascending order by default and force devs to set it? Or at least a warning in documents / console since this odd behavior is so common with string column that has |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently
getAutoSortDir
in filetable-core/src/features/Sorting.ts
has a return value dependent on the type of data received in the first row of data passed to theuseTableInstance
hook.I was curious, could this be updated to be consistent regardless of sort direction?
Currently I'm working with a column that can either have strings or objects as it's value, which makes the behavior of the column break since this can happen:
false
aka unsorted.Proposal:
Beta Was this translation helpful? Give feedback.
All reactions