Jump to content

chrisjesss's Content

There have been 1 items by chrisjesss (Search limited from 19-January 20)

By content type

See this member's

Sort by                Order  

#12396 how implement callback on read/view

Posted by chrisjesss on 22 April 2015 - 08:44 PM in I have a question


I have a timestamp field in my database which I want to be displayed as datetime format.

I implemented a callback_column which works fine on the grid view.



function clb_timestamp_to_date($timestamp){
return date('d-m-Y H:i:s', $timestamp);
But when one clicks on the magnifiying glass to show the single-row-view, there the original timestamp is shown, ignoring the callback.
Could someone please help me out on how to also manipulate the data on the single-row-view?
Any help is much appreciated.
Kind regards,