Open deJaya opened 2 years ago
I believe this is a problem with MODX 3 (and not with MIGX). There's a similar issue with the Collections extra.
The renderFirst renderer splits the value by the :
character and returns the first part.
So if there is a :
in your Event Description, then not all the text is displayed.
To avoid this you could create a custom renderer:
grid.config.inc.php
in core/components/somepackagename/migxconfigs/grid
.<?php
$renderer['this.renderMarkup'] = "
renderMarkup : function(val, md, rec, row, col, s) {
return val;
}
";
?>
somepackagename
.
MIGX richtext fields [with no renderer selected for the column] no longer render with their rich text formatting in the grid columns:
Choosing the renderFirst renderer for richtext columns seems to work as a workaround although I'm not sure what that actually does or what other implications there might be from using it.