Hello,
once again I have encountered a problem I cannot solve by myself.
I'm trying to hide html tags from my column (see the snippet below), however the .DisableHtmlEncode(false /true) apparently does not do anything, no matter what I try.
The header remains unchanged (always shows the tag) and the values for the column as well.
Could you perhaps point me to the right direction?
I saw this example:
https://ej2.syncfusion.com/aspnetmvc/documentation/grid/cell/
but I see no significant difference.
Currently running Syncfusion EJ2, v. 18.1500.0.42
@Html.EJS().Grid("DataGridDecisions").DataSource(dataManager =>
{
dataManager.Json(ViewBag.decisions).Adaptor("RemoteSaveAdaptor");
}).AllowResizing(true).AllowSorting().AllowFiltering().Columns(col =>
{
col.Field("RecommendationStatus").AllowEditing(false).HeaderText("Recomendation").Add();
col.Field("Comment").AllowEditing(false).HeaderText("<div>Comment</div>").DisableHtmlEncode(false).Add();
col.Field("ApprovingUser.ProjectResponsibility.NameForReports").AllowEditing(false).HeaderText("Approver").Add();
}).AllowPaging(false).EditSettings(edit => { edit.AllowEditing(false); }).FilterSettings(filter => { filter.Type(Syncfusion.EJ2.Grids.FilterType.Excel); }).AllowSelection().SelectionSettings(select => select.Type(Syncfusion.EJ2.Grids.SelectionType.Single)).Render()
Thank you for your help!