View Full Version : TriggerField render

9 Oct 2012, 4:29 AM
Hi all,

I am using a TriggerField to call a modal window with dateField and timeField to edit the value a datetime object.

Using a dateField, I can render the datetime object to a specific date format.

However, TriggerField do not seem to have a renderer or format property. Is there some way I can render/format the value of TriggerField of dateTime object value to the format that I want?

Thanks in advance

17 Oct 2012, 12:09 PM
You would have to extend the field and hook into when the value is set much like how the Date field does it's formatting in the setValue method