thezenmonkey thezenmonkey - 2 years ago 88
PHP Question

Render Arbitrary HTML in custom summary_field

I'm trying to render HTML in a Gridfield using a custom Summary Field in SS3.3 the older technique no longer works.

Answer Source

Have you tried casting like this?

    ->setFieldCasting(array('MyField' => 'HTMLText->forTemplate'));
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download