Which event does current time marking refresh trigger ?

Hi,

I’ve activated current time marking (docs.dhtmlx.com/scheduler/api__s … onfig.html).

However, I want to synchronize some custom code with this mark refresh. Which event does it trigger so that I could add my code ?

My requirements are :

  • center scheduler again (nothing to do when current hour doesn’t change so performance will be good)
  • update for some specific events my custom display by changing a colored block size to grow to stay sticked to current time (it’s fairly simple).

Thank you very much.

Hello,
the marked does not trigger any events of it’s own.
But you can attach to onViewChange
docs.dhtmlx.com/scheduler/api__s … event.html

It triggers each time the chart is redrawed, or date or mode is changed