Closed GraceeFlower closed 2 years ago
@GraceeFlower Thanks for bringing this up! There's not yet a way to pass in an initial sort for the table. There's an open issue for it though with some ideas of an implementation if you're interested in contributing, https://github.com/carbon-design-system/carbon/issues/11580
Summary
Hi team, I found
DataTable
incarbon-components-svelte
can sort some column by customized rule like:Is there any way that I can use like this? Since I only found
sortBy
andsortRows
, THX!Justification
I wanna implement that sort one role in my customized rule. Like some tasks status, ordering by the first character doesn't make sense to it.
Screenshots
N/A
Desired UX and success metrics
No response
Required functionality
No response
Specific timeline issues / requests
No response
Your team
N/A
Available extra resources
No response
Code of Conduct