Jump to:

1970 Posts in 1275 Topics by 607 members

Form Questions

SilverStripe Forums » Form Questions » HowTo display a virtual column inside a GridField unescaped?

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 343 Views
  • wee-man
    Avatar
    Community Member
    21 Posts

    HowTo display a virtual column inside a GridField unescaped? Link to this post

    Hallo,
    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.

    Thanks

    343 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.