1999 Posts in 1421 Topics by 613 members
|Go to End|
3 March 2013 at 9:52am
I have a DataObject with a virtual column (getPathsAsString()). The return value of this does contain HTML code. When this column is displayed in a GridField, the HTML code will be escaped. Does anyone know how to make the GridField not to escape that column?
I've already tried to set a casting to HTMLText for that field. But that doesn't make any difference.
8 May 2014 at 2:39am
Anybody looking for help on this subject check out this article http://www.silverstripe-webdevelopment.com/tricks/showing-html-in-gridfields/. Worked for me.
|Go to Top|