I am trying to render a checkbox and label into my column cell using this config:
{ type: 'name', text: 'Name', field: 'name', width: 250,
renderer : ({ record }) => {
return {
class : 'myClass',
children : [
{
tag : 'i',
class : 'fa fa-pen'
},
{
tag : 'input',
type : 'checkbox',
html : record.name,
}
]
};
}
},
But I can't seem to output anything other than a text input. Is there another method to do this?
Thanks