i want to add an extra column ‘description’ to a user-listing datagrid in backend.
All works fine:
1. With the help of an extra bundle I can extend/overwrite existing oro-bundle.
2. The existing datagrids.yml was expanded/appended very simple using the same datagrid-name, adding only an extra column (similiar to):
In database the description value is stored as htm-text. Unfortunately, output in backend-listing is escaped. For example ‘Peter is working very hard.‘ instead of ‘Peter is working very hard’.
What can I do to prevent html-escaping?
In TWIG exists raw-filter. May be I can apply this in a way like:PHP1234567datagrids:some-oro-grid:....columns:description:label: oro.some.description.labeldata_name: description|raw
Unfortunately this is not working. ‘data_name’ seems to be the wrong parameter-name. It is ignored at all.
Thanks for help.
The forum ‘OroPlatform’ is closed to new topics and replies.