Skip to main content
Nintex Community Menu Bar
Solved

Click and Drag Functionality for Custom Modal on Calendar

  • July 12, 2024
  • 4 replies
  • 4 views
  • Translate

Forum|alt.badge.img+4

Working on V1 to V2 conversion, we had a calendar component in V1 where you would click and drag on a calendar to create an event and the dates and times that you clicked and dragged were populated in the modal. Building it in V2, it seems that the click and drag functionality only works with the built in create event modal. I needed to create a custom modal with more fields as the built in one only has three fields that you cannot change, but when I click and drag there’s no date and time population. Is there a way to make this work? Or is there a way to edit the built in modal?

Best answer by cstern

Hi @Ghesketh, if you do your own Modal for a create event action, you can still take advantage of the click and drag for populating the Date/DateTime fields. You’ll need to make use of the Calendar’s merge variables (outlined in this doc: Calendar — Skuid v16.2.8 Documentation).

As part of the action sequence to your create event, specify updating your Start DateTime and your End DateTime with {{startDateTime}} and {{endDateTime}} respectively.

I’ve attached a screenshot of the property config. Let me know if I can clarify anything, hope that helps!

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Forum|alt.badge.img+3
  • Nintex Employee
  • 7 replies
  • Answer
  • July 12, 2024

Hi @Ghesketh, if you do your own Modal for a create event action, you can still take advantage of the click and drag for populating the Date/DateTime fields. You’ll need to make use of the Calendar’s merge variables (outlined in this doc: Calendar — Skuid v16.2.8 Documentation).

As part of the action sequence to your create event, specify updating your Start DateTime and your End DateTime with {{startDateTime}} and {{endDateTime}} respectively.

I’ve attached a screenshot of the property config. Let me know if I can clarify anything, hope that helps!

Translate

Forum|alt.badge.img+4
  • Author
  • Rookie
  • 16 replies
  • July 12, 2024

That works perfect, thanks Chris!

Translate

Forum|alt.badge.img+3
  • Nintex Employee
  • 7 replies
  • July 12, 2024

Awesome, glad to hear it!

Translate

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • 867 replies
  • July 12, 2024

This topic was automatically closed after 6 days. New replies are no longer allowed.

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings