Hi,
I have a problem with Filter Multi Checkboxes in the grid, as can be seen in the example below:
http://dojo.telerik.com/Evuvu
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
0
Stefan
Top achievements
Rank 1
answered on 10 Nov 2015, 10:16 PM
Here is another very simple example
http://dojo.telerik.com/eGAya
0
Hello Stefan,
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.
Regards,
Viktor Tachev
Telerik
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.
Regards,
Viktor Tachev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Stefan
Top achievements
Rank 1
answered on 12 Nov 2015, 12:43 PM
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?
0
Stefan
Top achievements
Rank 1
answered on 12 Nov 2015, 12:58 PM
Please see screen shots below, for better visualisation of the problem
0
Hello Stefan,
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.
Regards,
Viktor Tachev
Telerik
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.
Regards,
Viktor Tachev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!