-
I can't seem to find out how to create a column containing created_at into a sortable column. If I want the date with a custom format then I have to create a new column with a new name;
but then when adding sortable to this column, and clicking the column heading, of course I get;
If I just leave the column as I was really hoping that I could specify the sort column like this;
specifying the column to be sorted in the sortable method. or have PG accept the formatting of the created_at column without having to specify a new name |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
After source diving I found the solution
by specifying the 'source' data in the second parameter of the field() function This could be clearer in the docs Also think its odd that its not possible to overwrite the format of the column without giving it a new name |
Beta Was this translation helpful? Give feedback.
After source diving I found the solution
by specifying the 'source' data in the second parameter of the field() function
This could be clearer in the docs
Also think its odd that its not possible to overwrite the format of the column without giving it a new name