T
TanStack3y ago
manual-pink

Is there a way to implement sorting like how it's done in Spotify?

For those who don't know, if you click on your "Liked Songs" list on Spotify, and then toggle through the "Title" header, it will sort the table ascending/descending, and then will switch the sorter to "Artist". Spotify groups the title and artist in what appears to be the same column. Screenshots included to illustrate what I mean.
No description
No description
1 Reply
afraid-scarlet
afraid-scarlet3y ago
i found this repository and this guy did a custom headers, could works for you https://github.com/PaoloJN/nessimworks-dashboard, is not exactly what you need but is a good example of custom headers

Did you find this page helpful?