⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Member Since 22 Apr 2015
Offline Last Active Apr 23 2015 05:55 AM

Topics I've Started

how implement callback on read/view

22 April 2015 - 08:44 PM


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,