Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: week view click in the "All Day" region above the grid

week view click in the "All Day" region above the grid 14 years 11 months ago #214

  • vnehess
  • vnehess's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I think this is easy, but could not find the docs mention.

when i click in the week view in the all day section ( area just above the time grid) i would like to have a different callback called , or , have some parameter that indicates that my user would like to create an all day / multi day event.

i would then use a different form to show the user no times, but instead two date boxes.

my normal event form has one date and two times (start,end)

on this click i would like to have two dates and no times.

thanks

Please Log in to join the conversation.

Re: week view click in the "All Day" region above the grid 14 years 11 months ago #216

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
This is easy!

for your onNewEvent Callback, the third parameter is true or false based on user clicking allday section or not.

The examples use this flag to check the "allDay" checkbox

Hope this helps

Please Log in to join the conversation.


Team Web2Cal.

Re: week view click in the "All Day" region above the grid 14 years 11 months ago #217

  • vnehess
  • vnehess's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Sweet !!

thanks for the quick reply

Please Log in to join the conversation.

  • Page:
  • 1
Time to create page: 0.058 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US