如何从Jquery FullCalendar中删除星期日列? [英] How to remove sunday Column from Jquery FullCalendar?
本文介绍了如何从Jquery FullCalendar中删除星期日列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨专家,
在Jquery FullCalendar有默认的工作日是星期日。但我想在星期一开始工作日,我不想要星期日专栏。请给我一些关于那个的想法FullCalendar。
谢谢和问候
Hari
Hi Experts,
In Jquery FullCalendar have default week day is sunday.But i want to week day start on monday and i don''t want sunday column.Please give me some ideas about that FullCalendar.
Thanks & Regards
Hari
推荐答案
试试这个:
Try this:
(' #datepickerfield')。datepicker({
constrainInput: true , // 阻止输入字段中的字母
minDate: new Date(), // 阻止选择比今天更早的日期
showOn:< span class =code-string>' button', // 显示文本字段旁边的按钮
autoSize: true , // 自动调整输入字段的大小
altFormat:' yy-mm-dd', // 使用的日期格式
beforeShowDay:
('#datepickerfield').datepicker({ constrainInput: true, // prevent letters in the input field minDate: new Date(), // prevent selection of date older than today showOn: 'button', // Show a button next to the text-field autoSize: true, // automatically resize the input field altFormat: 'yy-mm-dd', // Date Format used beforeShowDay:
.datepicker.noWeekends, // 禁用周末选择
firstDay: 1 // 从星期一开始
})
.datepicker.noWeekends, // Disable selection of weekends firstDay: 1 // Start with Monday })
或者这个
or this
//getter
var firstDay =
这篇关于如何从Jquery FullCalendar中删除星期日列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文