Coloring Events based on Custom Attribute

I am using dhtmlx scheduler and following is the scenario.
We can have multiple events in a single day.In cases where there is overlap of events on a single day, we need to color the events that was created last ( on the later date) with a specific color.
any suggestion on how to do this?

Hi,
check this article docs.dhtmlx.com/scheduler/custom … stoanevent

Thanks Alexander.
I checked this article and know how to color an event, but how do i check that for a given date

  • which ones are overlapping
  • how do i iterate overlapping entires and color the last created one.

Thanks in advance for help

-Aman