将水平滚动添加到全日历调度程序 [英] Adding horizontal scroll to fullcalendar scheduler
本文介绍了将水平滚动添加到全日历调度程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Fullcalendar Scheduler,问题是当我有很多资源时,它变得不好,像这样:
I am using Fullcalendar Scheduler, and the problem is when i have many resources, it becomes not good, like this:
具有少量资源的实时演示: http ://fullcalendar.io/js/fullcalendar-scheduler-1.3.3/demos/vertical-resource-view.html
The live demo with litle resources: http://fullcalendar.io/js/fullcalendar-scheduler-1.3.3/demos/vertical-resource-view.html
我有个主意,它添加了水平滚动,但是我不知道这样,你们能帮我吗? 非常感谢,并度过了愉快的一天.
I have an idea, it's adding an horizontal scroll, but i don't know the way, can you guys help me out ? Thank you very much and have a great day.
推荐答案
.fc-view-container {
overflow-x: scroll;
}
.fc-view.fc-agendaDay-view.fc-agenda-view{
width: 500%;
}
/* **For 2 day view** */
.fc-view.fc-agendaTwoDay-view.fc-agenda-view{
width: 500%;
}
这篇关于将水平滚动添加到全日历调度程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文