Reputation: 189
I'm trying to render HTML in a Gridfield using a custom Summary Field in SS3.3 the older technique no longer works.
Upvotes: 1
Views: 216
Reputation: 3318
Have you tried casting like this?
$config->getComponentByType('GridFieldDataColumns')
->setFieldCasting(array('MyField' => 'HTMLText->forTemplate'));
Upvotes: 1