and the column data contents i.e. <div style='color : greed'> Active </div>
Any advice how i can filter this?
1 Answer, 1 is accepted
answered on 14 Dec 2020, 08:27 AM
When the MultiCheckbox filter of the grid is set up, the filter expressions are always built with the "eq" (equals) operator. Therefore, setting the Contains operator via the options will not affect the MultiCheckbox.
What I can recommend is that you actually store only the values in the database rather than the whole HTML value. This way, you would further decrease the chance of submitting arbitrary values that might do harm to the database. After that handle the styling with a ClientTemplate.
Any other approach would require custom logic that might be error-prone. Do let me know if the suggestion above is not applicable in your scenario.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.