Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date formatting & sorting #26

Open
sangermann opened this issue Nov 19, 2021 · 5 comments
Open

date formatting & sorting #26

sangermann opened this issue Nov 19, 2021 · 5 comments

Comments

@sangermann
Copy link

Hi,
thank you very much for your great work - this vue component truely rocks!
Is there a way to use a date column with formatted cell display (without template slot-scope) so that it is still sortable?

@waningflow
Copy link
Owner

You can format the date to string like YYYY-MM-DD and set the corresponding prop config with sortable: true.

@sangermann
Copy link
Author

sangermann commented Nov 21, 2021

Yes, but I need it formatted with DD.MM.YYYY and/or DD.MM.YYYY, HH:mm:ss. At the moment this doesn't work correctly with sortable: true. Is there an alternative to make it work?

@waningflow
Copy link
Owner

waningflow commented Nov 23, 2021

Currentlly no. It needs additional work.

@sangermann
Copy link
Author

Maybe as new feature for the next release? :) I would donate for that because it's only useful for me with this functionality.

@sangermann
Copy link
Author

YEAH! Thank you so much.
Now custom slot works great with formatted data and sorting!
Donated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants