[英]How can I see all text in the day using fullcalendar in javascript?
What do I need to do to see all the text in the day? 要查看当天的所有文字,该怎么办? For example, for the 15th, it says: "Prueba tarea de formulario", but I can see only "Prueba tarea de fo". 例如,对于15号,它说:“ Prueba tarea de Formulario”,但我只能看到“ Prueba tarea de fo”。 I need to display all the text. 我需要显示所有文本。
These are my options: 这些是我的选择:
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();
}
Check in your CSS whether you have something similar to this: 检查您的CSS是否具有与此类似的内容:
.fc-event-time, .fc-event-title {
white-space: nowrap;
}
If you remove those lines in the CSS part of this this Fiddle , you'll see that FullCalendar adapts the event sizes to the title length. 如果您在此Fiddle的CSS部分中删除了这些行,您将看到FullCalendar将事件大小调整为标题长度。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.