| Issue 2457: | dayClick, get more info about events / constraint / overlap | |
| 1 person starred this issue and may be notified of changes. | Back to list |
It is easy to setup a red zone where is not available to drop a event.
{
start: '2015-02-06',
end: '2015-02-09',
overlap: false,
rendering: 'background',
color: '#ff9f89'
}
and is easy to setup a dayClick
dayClick: function(date, jsEvent, view) {
alert('Clicked on: ' + date.format());
alert('Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY);
alert('Current view: ' + view.name);
}
But, if you have this features it would be nice to combine between in a easier way by example for now we can't read properties from the dayClick if this day is "overlap: false" or if the day is colorful, rendering kind, etc.
this should be so useful, and a little needed example should be clicking on a day "overlap: false" and taking decisions from this, show and alert, opening a different window, etc.
thanks,
Mar 9, 2015
somewhat related to issue 2165
Aug 21, 2015
Discussion for this issue has moved to the following URL: https://github.com/fullcalendar/fullcalendar/issues/2722 This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event. Happy coding, Adam
Status:
ExportedToGithub
|
|
| ► Sign in to add a comment |
Status: Accepted
Labels: Type-Feature