Hi Mehmet,
Syncfusion greetings.
We can achieve your requirement using eventRendered event and kindly refer the below sample.
eventRendered(args: EventRenderedArgs): void {
let data: { [key: string]: Object } = args.data;
if ((data.StartTime as Date).getTime() < new Date().getTime() && (data.EndTime as Date).getTime() < new Date().getTime()) {
args.element.style.backgroundColor = 'red';
}
else if (((data.StartTime as Date).getTime() < new Date().getTime() && (data.EndTime as Date).getTime() > new Date().getTime())) {
args.element.style.backgroundColor = 'blue';
}
else if ((data.StartTime as Date).getTime() > new Date().getTime() && (data.EndTime as Date).getTime() > new Date().getTime()) {
args.element.style.backgroundColor = 'green';
}
}
Regards,
Karthi