133
Views
3
Comments
[FullCalendar Reactive v6] When I click the calendar , how can I get the datetime of block which I clicked?
full-calendar-reactive-v5
Reactive icon
Forge asset by Rodrigo Silva
Application Type
Reactive

Hi , There ,

When I click the calendar , how can I get the datetime of block which I clicked?

Many Thanks,

Jack

UserImage.jpg
Accelance Partners

@Jack Bao


In your case, there must be different events like OnClick, OnChange, etc
you have to use them and apply logic for the output you want after OnClick.

Thanks

Shriyash

2019-03-12 09-44-05
Rodrigo Silva

Hi guys,

Thanks for the answer, Shriyash.

@Jack Bao 

There is an event called "CalendarObjectInit" with an input of type object. You need to create a handler for that event, and then add a JavaScript node onto flow to instantiate all desired callbacks (See  FC documentation to get the correct callback's name). I didn't create all FCs callbacks by default to make the component more dynamic.


In attachment there is an screenshot from the Demo module.

Screenshot 2022-09-01 175717.png
UserImage.jpg
Jack Bao

Hi Silva, 

Thank you , can you give me more detail instructions ? if I want to get the datetime of the clicked block , can you give a sample ?

BR,

Jack

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.