Calendar: show popup after dragging event

  • 1
  • Question
  • Updated 2 years ago
I want to bring up a popup when a user drags/drops an appointment in the calendar to document the reason for the reschedule.  Has anybody done this with skuid?  Can anybody point me in the right direction.  I am already triggering an event when this occurs.

thanks.
Photo of Sofware Developer Guy

Sofware Developer Guy

  • 1,354 Points 1k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
If you're publishing a skuid event, just use some inline javascript to subscribe to that event.

Alternatively, you could think about using a model action on the calendar's source model that looks for changes on the start datetime or room fields?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
If you're using javascript, you can build your popup in js, too: https://community.skuid.com/skuid/topics/trigger_popup_from_javascript

Alterntively, you can use mBlazonry's template component to listen for your event and use the action framework to build the popup. See https://community.skuid.com/skuid/topics/template-component-with-action-framework and https://community.skuid.com/skuid/topics/another-use-for-mb-template-w-action-framework-call-action-...