In my data source, one of the columns is a string data type and contains the "&" in the text. When the grid renders, it's translating those "&"s to &
How can I prevent this from happening? I'm binding to a local data source and I have a schema defined:
Is there possibly a way in the column definition to tell it to render those "&"s as actual "&"s?
Thanks
How can I prevent this from happening? I'm binding to a local data source and I have a schema defined:
dataSource: {
data:
[
@foreach (var report in Model.Reports)
{
<
text
>{Id: "@report.Id", ReportId: "@report.ReportId", ReportSample: "@report.ReportSample", ReportLegend: "@report.ReportLegend", ReportFaq: "@report.ReportFaq", ReportName: "@report.ReportName"}, </
text
>
}
],
schema: {
model: {
fields: {
Id: { type: "number" },
ReportId: { type: "string" },
ReportSample: { type: "string" },
ReportLegend: { type: "string" },
ReportFaq: { type: "string" },
ReportName: { type: "string" }
}
}
}
}
Is there possibly a way in the column definition to tell it to render those "&"s as actual "&"s?
Thanks