I have a problem with Filter Multi Checkboxes in the grid, as can be seen in the example below:
When clicking on the header of the first column, the text of the checkbox is shown as a string, instead of being treated as HTML. How can I avoid this behaviour?
Thanks in advance for any ideas.
5 Answers, 1 is accepted
If you would like to customize the items in the CheckList filter you can define a template. The approach is illustrated in the following example.
Hello Viktor Tachev,
thank you very much for your reply. That was helpful.
I would like however, for the filter to work, even when the data contains html. I have modified the example to show this. How can I achieve filtering in this case?
In the last sample single quotes are used for the href in the anchor element. Also single quotes are used for the value of the checkbox and this results in invalid HTML.
Try to use double quotes for the value attribute and the issue should be resolved.