Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Modeladmin using Function in DataGrid


Reply

326 Views

Avatar
lx

23 August 2012 at 5:17am (Last edited: 23 August 2012 5:24am), Community Member, 83 Posts

Hi,

in SS2.4 i often used functions in columns of the modeladmins tablelistfield. (see attached screenshot)
This could easy be done by calling a function name in static $summary_fields = array();

But it doesnt seem to work in SS3.
So how can i show a boolean column of the grid as "yes"/"no" instead of ""/"1" ?

thanks,
lx

Attached Files