Detect if event is new.

Hello!

I’m creating custom event binding and custom lightbox form. I need to perform different set of actions depending on if event is new or existing one. At the moment logic if event is new or not based on comparing if event ID is big enough, is there a better/recommended way of doing it ?

thank you beforehand,

Aleksei.

You can check
scheduler.getState().new_event

docs.dhtmlx.com/scheduler/api__s … state.html