|
onRenderCell: (args) => {
if (
(args.elementType === "workCells" ||
args.elementType === "monthCells") &&
!args.element.classList.contains('e-other-month')
) {
let weekEnds = [0,6];
if (weekEnds.indexOf(args.date.getDay()) >= 0) {
let ele = createElement("div", {
innerHTML:
"<img src='https://ej2.syncfusion.com/demos/src/schedule/images/newyear.svg' />",
className: "templatewrap",
});
args.element.appendChild(ele);
}
} |