Hi
Can I use Pusher services to make the events update in realtime?
Thanks
Hi
Can I use Pusher services to make the events update in realtime?
Thanks
Hi @victor7,
Yes, you can do this. In order to update the event.text
, your pusher event should look like in this snippet( my-event
):
http://snippet.dhtmlx.com/2705611a6
Here is a little video which shows, how the pusher works with this snippet:
https://recordit.co/YNARm9zwSJ
Main points of this solution are:
id
, to find the event you want to update.event
, you should call scheduler.updateEvent(id);
method to update and rerender the event with new information.Important
: don’t forget to use your own pusher credentials:PUSHER_APP_ID ; PUSHER_APP_KEY; PUSHER_APP_SECRET;
API:
https://docs.dhtmlx.com/scheduler/api__scheduler_updateevent.html