Hallo,
we use templating in a column, which replaces three variables.
"<b>${InspectionNumber}</b><br/>${Kontrolldatum}<br/>${Dienstleistung}"
InspectionNumber is a string, Kontrolldatum is a date and Dienstleistung is a string.
Replaced it is : <b>00001</b><br>Thu Dec 29 2011 01:00:00 GMT+0100 (Mitteleuropäische Zeit)<br>Lieferantenaudit
Our problem is the date replacement: in normal date columns the datestring is converted to a short date. as a normal column Kontrolldatum is displayed as "29.12.2011", but the templating engine replaces ${Kontrolldatum} to " Thu Dec 29 2011 01:00:00 GMT+0100 (Mitteleuropäische Zeit)".
any idea how to handle this? thanks.
Hi there,
If the key for the column is not the date entry of the three that you're using, then the auto formatter would not recognize this column as one that needs to be formatted as a date. Specify dataType="date" for the column and then this value should correctly be formatted to a date. Let me know if you're still experiencing issues with this.
Thank you for using the Infragistics forums!