search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

changes with mouse click

Asked by Otto
3 years ago.

I would like to see changes with mouse click setting a flag set in the SQL database for the corresponding record.
The plan color of the booking should then change, too.
Could someone please help me.
Best regards,

Answer posted by Dan Letecky [DayPilot]
3 years ago.

There is an onEventClick event handler which you can use to call a server-side endpoint using AJAX (to make the change persistent). You can also change the event color using

dp.onEventClick = function(args) {
  $.post("changeColor?id=" +, function(data) { = "red";;
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.