In the data grid 2 you can add a column with 'custom content'. In the column you can add the widget 'Html element'. In there you can show the attribute with the HTML text. In the properties of the widget set 'Content' to 'HTML' and add your attribute as expression with the 'Edit' button.
If the HTML element widget is not in your project yet, you can download it from the marketplace:
https://marketplace.mendix.com/link/component/204843