See doc for dispatchEvent
Ok, i did it, but this is my code:
i tried also with:
where data is my DateField component, but it did not work.
Can you help me to find the right code?.
try- new CalendarLayoutChangeEvent( parameters here) instead of new Event.
thanks, that worked.