如何定义显示在Jquery完整日历上的列数? [英] How to define the number of columns to show on Jquery Full Calendar?
本文介绍了如何定义显示在Jquery完整日历上的列数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的是周视图,但是不是每个幻灯片显示7列,我想显示三列,是否可以将其存档?
我失败了在官方文档中查看任何相关方法: http://fullcalendar.io/docs/
解决方案
完整日历的2.2.5版本内置了这种定制功能。
<你只需要做这样的事情:
views:{
agendaThreeDay:{
type :'agenda',
duration:{days:3},
buttonText:'3 day'
},
defaultView:'agendaThreeDay'
}
您可以从文档页面获得更多信息这里。
I'm using the week view, but instead of showing 7 columns per slide I want to show three columns, is it possible to archive this?
I failed to see any related method on the official documentation: http://fullcalendar.io/docs/
解决方案
Version 2.2.5+ of Full Calendar has this kind of customization built in.
You just need to do something like this:
views: {
agendaThreeDay: {
type: 'agenda',
duration: { days: 3 },
buttonText: '3 day'
},
defaultView: 'agendaThreeDay'
}
You can get more information on this from the document page here.
这篇关于如何定义显示在Jquery完整日历上的列数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文