![](/img/trans.png)
[英]FullCalendar: How can i display an icon on each day of the month using the function DayRender?
[英]How can I see all text in the day using fullcalendar in javascript?
要查看當天的所有文字,該怎么辦? 例如,對於15號,它說:“ Prueba tarea de Formulario”,但我只能看到“ Prueba tarea de fo”。 我需要顯示所有文本。
這些是我的選擇:
calendar: function(){
var self = this;
$('#calendar').fullCalendar({
events: self.objCalendar.json,
header: {
left: '',
center: 'prev title next',
right: ''
},
eventClick: function(event, jsEvent, view) {
$('#modalTitle').html(event.title);
$('#modalBody').html(event.description);
$('#eventUrl').attr('href',event.url);
$('#fullCalModal').modal();
}
檢查您的CSS是否具有與此類似的內容:
.fc-event-time, .fc-event-title {
white-space: nowrap;
}
如果您在此Fiddle的CSS部分中刪除了這些行,您將看到FullCalendar將事件大小調整為標題長度。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.