vue3-easy-data-table icon indicating copy to clipboard operation
vue3-easy-data-table copied to clipboard

[Improvement] Add custom sorting

Open lkurylo opened this issue 2 years ago • 5 comments

Hi. I have an cell that displays data combined from two other cells. It would be great to have the possibility to sort this column. For example fields status and date are displayed as icon with date but can't get sorted in any way tight now.

lkurylo avatar Dec 01 '22 10:12 lkurylo

Can't you sort the array using computed? How is this different from that?

mrhammadasif avatar Mar 01 '23 05:03 mrhammadasif

I would like that, too. We have a status column ['NEW', 'PENDING', 'PARTLY', 'DONE']. We would like to sort these just in the way I wrote them down here. However, when sorting a column with these values, they are sorted alphabetically. It would be cool if we could provide a sorting function.

finn-matti avatar May 09 '23 11:05 finn-matti

this feature for custom sorting is helping us to customize sorting procedur. i have column that contain a date, but its sort as a string. please provide custom sorting

Kangditya avatar Jun 18 '23 07:06 Kangditya

I would like that, too. We have a status column ['NEW', 'PENDING', 'PARTLY', 'DONE']. We would like to sort these just in the way I wrote them down here. However, when sorting a column with these values, they are sorted alphabetically. It would be cool if we could provide a sorting function.

We are having the same issue, having a custom sorting event handler will be really helpful.

azhao01 avatar Sep 15 '23 18:09 azhao01

I would like to ask when will the feature of @jxn-30 be merged? We would like to have the custom-sort functionality, as well. That would be great :)

hothdung avatar Oct 09 '23 15:10 hothdung