在议程周和日 View 中,呈现事件时,最后一个事件后面有一个空格。在旧版本的fullcalendar(v1.5.4)中,可以通过注释掉这个空格并在议程 View 中使用整个列(日)宽度:
availWidth = Math.min(availWidth-6, availWidth*.95); // TODO: move this to CSS
在
function renderSlotSegs(segs, modifiedEventId)
此修复对于 1.6.4 版不再有效。有人知道这个新版本的修复吗?
最佳答案
好像注释掉了:
columnRight -= columnWidth * .025;
在
function renderSlotSegs(segs, modifiedEventId)
做了我想做的事。如果有人有更好的解决方案,无需更改插件代码,我们将不胜感激。
关于javascript - fullcalendar:删除最后一个事件后的空格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18693466/