| Issue 567: | can not remove/hide allday slot | |
| 2 people starred this issue and may be notified of changes. | Back to list |
hi,
i'm trying to use AllDaySlot option to remove/hide this slot, but it does work only in month view.
my code :
$(document).ready(function() {
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
allDaySlot: false,
right: 'month,agendaWeek,agendaDay'
},
<?php
if($USERAUTH->isAdmin())
{
echo "editable: true,";
}
?>
events: "json.php",
eventDrop: function(event,dayDelta,minuteDelta,allDay,revertFunc) {
alert(
event.title + " was moved " +
dayDelta + " days and " +
minuteDelta + " minutes."
);
if (allDay) {
alert("Event is now all-day");
}else{
alert("Event has a time-of-day");
}
},
eventResize: function(event,dayDelta,minuteDelta,revertFunc) {
alert(
"The end date of " + event.title + "has been moved " +
dayDelta + " days and " +
minuteDelta + " minutes."
);
},
loading: function(bool) {
if (bool) $('#loading').show();
else $('#loading').hide();
}
});
});
Aug 25, 2010
Project Member
#1
adamrs...@gmail.com
Status:
Done
Sep 3, 2010
Hi, sorry i wasn't enought clear. as i said, the "allDaySlot: false" work only on month view. the all day slot is not visible with this option on month view. but not on other view. this mean that in week or day view, the all day slot is style visible. so i would like to know how to also hide this all day line to the week view, and day view. thanks in advance,
Oct 7, 2010
Issue 634 has been merged into this issue.
Oct 7, 2010
i am sorry, but i still do not understand the basics of your question. maybe have someone else write it?
Status:
Discussing
Labels: -Type-Defect Type-Question
Oct 8, 2010
Hi again, i try to know how to make the "all day" line/slot to not appear on week view, and in day view. look at the picture, i don't want to see what is surrounded in red. hope, i'm clear now. let me know if you need more information. regards,
Nov 10, 2010
Do you only want to hide the label you marked or the whole feature?
Nov 10, 2010
il would like to hide this slot, and then, to not be able to make event set to "all day".
Nov 11, 2010
Set allDaySlot to false: http://arshaw.com/fullcalendar/docs/agenda/allDaySlot/
Nov 11, 2010
hi, just read my first post (javascript code), and you will see that screen capture i did is directly with "allDaySlot: false" i didn't open a bug for nothing. alldayslot doesn't work on week view or day view. regards,
Nov 11, 2010
Sorry... got confused a bit. ?:-|
In your code you added allDaySlot to the header, but it has to be one level above to be a valid config option:
...
header: {
bla
},
allDaySlot: false,
bla: bla,
events: "json.php",
...
Nov 11, 2010
Hi, Sorry, i didn't see that mistake. i will need to wait on monday to try it on my project (not at home right now). i will let you know if all is ok. thanks again, regards,
Nov 16, 2010
Hi again, sorry, i fell myself stupid now. it work like a charm when you but this option in the good position. thanks a lot for your help!
Nov 21, 2010
(No comment was entered for this change.)
Status:
Done
Sep 21, 2011
Yes, you put in
header: {
left: 'prev,next today',
center: 'title',
allDaySlot: false,
right: 'month,agendaWeek,agendaDay'
},
and "allDaySlot" must be on the same level with "header":
allDaySlot: false,
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
Apr 21, 2014
When the property Allday default = false or reading of data base Allday and treat the "eventRender" event, nothing is displayed. The "compileSlotSegs" fullcalendar.js function has an error in the "colSegs" object. The "colSegs' object has no data. This happens in version 2.0.0-beta2. In version 1.6.4 works correctly. thanks |
|
| ► Sign in to add a comment |