Browse Source

If a value containing HTML comes from the GetConvertedFieldValue method of the grid, MarkupString transformation is required to display it.

pull/21450/head
Dolunay 1 year ago
parent
commit
56d9086d37
  1. 4
      framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor

4
framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor

@ -112,7 +112,7 @@
Sortable="@column.Sortable"
Displayable="column.Visible">
<DisplayTemplate>
@(GetConvertedFieldValue(context, column))
@((MarkupString)GetConvertedFieldValue(context, column))
</DisplayTemplate>
</DataGridColumn>
}
@ -140,7 +140,7 @@
{
if (column.ValueConverter != null)
{
@(GetConvertedFieldValue(context, column))
@((MarkupString)GetConvertedFieldValue(context, column))
}
else
{

Loading…
Cancel
Save