I can only use single quotes in my column templates. Either one should be valid HTML.See example: jsfiddle.net/.../
Hello Ben,
This is an initial update to let you know that we have received your support request and I am currently looking into this matter for you. I will keep you posted on my progress and I will get back to you soon with more information or questions for you.
Please feel free to continue sending updates to this case at any time.
Regards, Monika Kirkova, Infragistics
After investigating this further, I determined that a template string containing double quotes could be passed to a column if the quotes are replaced with single ones as follows:
let columnTemplate = '{{each ${array} }}<span style="color: red">$data</div>{{/each}}';
columnTemplate = columnTemplate.replaceAll('"', '\'');
$("#grid").igGrid({
columns: [
. . .
{ headerText: "Custom Template", key: "CustomTemplate", dataType: "string", width: "20%", unbound: true, template: columnTemplate }
I have modified the provided sample, in order to demonstrate the described behavior. Please test it on your side and let me know if you need any further information regarding this matter.
Yes, I have already replaced all quotes in our template.But I wanted to let you know that this bug exists so that you can fix it. Or at least mention this restriction in your documentation.