Hi all,
I have a question about the table component in cde.
I have a date column in my table formatted like "dd-mm-yyyy", however how does one implement proper sorting so that the column is not sorted by dd-mm-yyyy but instead by yyyymmdd?
I've tried fixing it via sql: concat('<!-- ',t.timedate, ' -->', date_format(t.timedate, '%d-%m-%Y')) as 'Date' but the actual <-- ... --> ugliness is of course exported with the xls export of this table as well.
I can only find solutions for numbers for "Column Formats" to alter its format(for example %.2f), but nothing describes howto handle dates.
Your help is much appreciated!
With kind regards, Rogier
I have a question about the table component in cde.
I have a date column in my table formatted like "dd-mm-yyyy", however how does one implement proper sorting so that the column is not sorted by dd-mm-yyyy but instead by yyyymmdd?
I've tried fixing it via sql: concat('<!-- ',t.timedate, ' -->', date_format(t.timedate, '%d-%m-%Y')) as 'Date' but the actual <-- ... --> ugliness is of course exported with the xls export of this table as well.
I can only find solutions for numbers for "Column Formats" to alter its format(for example %.2f), but nothing describes howto handle dates.
Your help is much appreciated!
With kind regards, Rogier