I am using fullcalendar as angular component and in that I have added a checkbox in listview. But I want to render that checkbox as a mat-checkbox. So is is possible to render this from function? This is how I am using, but it is not rendering checkbox.
eventRender(event) {
const eventView = event.view.type;
const eventID = event.event.id;
console.log(event);
if (eventView === 'listWeek') {
const newCell = event.el.insertCell(3);
newCell.innerHTML = `<mat-checkbox appearance="outline">Completed</mat-checkbox>`;
}
}
so Basically I want to a checkbox in list view, where user can click on that checkbox to mark that task as a completed. So that checkbox also need to call a function. Any idea how can I do that?