Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法显示只有 1 个月的日历?每个日历都应显示该月的所有日期。例如:
Calendar1 = January 1-31 Calendar2 = February 1-28/29 ... and so on.
你可以通过一些方式来做,我的方法是使用jquery,当日历聚焦时,我们需要禁用a使用tonext或的标签previous:
a
next
previous
<p:calendar onfocus="$('#ui-datepicker-div a').unbind();" />