-
Notifications
You must be signed in to change notification settings - Fork 139
datetime formatting with natural sorting in the table component #895
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
Comments
Hi !
No you don't. Are you having issues with rendering datetimes ? Can you tell us more about the issue you are having ? What database are you using, what does your table schema look like, what query are you using ?
No, you can use a For instance select 'list' as component;
select
title,
case when has_errors then 'red' else 'blue' end as color
from orders;
Pagination is hard to implement in a way that is both
It is definitely possible, though. Contributions welcome ! |
yes, i'm backed by a postgres tables. i need to keep datetime format (to filter properly) but to be able to show custom date formats at a table. alsoo i need to colorize rows by an easy rule, if a col is bool true the row is green. is it easely doable? |
of course every dev is dreaming about opensource contribute to a high stared project. but we also have severe time constraints. so hopefully anyday our dreams will com true |
Oh, I see, you would like something similar to what we have for Show the values with a certain format, but sort them according to their natural order, not to the format string ? That is not yet implemented, but wouldn't be hard to do, reusing the same logic as we have for money columns. Pull requests welcome ! The code you will need to update is here: https://github.com/sqlpage/SQLPage/blob/main/sqlpage/sqlpage.js#L42 |
Hello, just some typical and simple questions
3.sadly that pagination = true in table component is not yet developed, it's a basic function in all similar libs
thanks much for your work
The text was updated successfully, but these errors were encountered: