Our pure JavaScript Scheduler component


Post by jmeire »

Hi

Previously (< 4.2.0) the drag to create feature showed some kind of blurred out event:

Capture.PNG
Capture.PNG (5.38 KiB) Viewed 345 times

Is it still possible to have this instead of the event content render that is default on now?
My event render function where the content is being calculated, shouldn't be triggered if it's a completely new event in my case. I would prefer the blurred out event like it was before.

Kind regards
jmeire


Post by mats »

You can query the eventModel.isCreating to know if the event is being created, and thereby display it as you want.


Post by jmeire »

Okay but just to verify: it will always pass the custom event renderer method if there is one (in drag to create and in normal mode)?


Post by saki »

Yes, the custom event renderer is called always.


Post Reply