I am trying to define column template for the grid using MVVM. Below is the piece of code that i am using.
This is working fine. But this html is not exactly valid as I am missing single quotes (') and I am using closing tag for input which is ideally not required. How can define this in correct way? I think i am missing something very simple.
data-columns="[
{'template':'<
input
type
=
checkbox
><\/input>'}
]"
This is working fine. But this html is not exactly valid as I am missing single quotes (') and I am using closing tag for input which is ideally not required. How can define this in correct way? I think i am missing something very simple.