How to make it work (checkbox) ?
{
id:"value",
css:{"text-align":"left"},
header:"VALUE",
width:470,
editor:"text",
template:function(obj, common) {
if (obj.type == '1') {
if (obj.value == 'true') {
return "<div class='webix_table_checkbox checked'> YES </div>";
} else {
return "<div class='webix_table_checkbox notchecked'> NO </div>";
}
} else {
return obj.value
}
}
}