如何限制 ExtJS DatePicker 中的两个日期?
我在 ExtJS4 中有一个 DatePicker。我只想允许每个月有两个日期。第 15 天和最后一天(30/31/28/29,取决于月份/年份)
我如何禁用选择器中的每一天,但允许这两个日期?
I have a DatePicker in ExtJS4. I only want to allow TWO dates for each month. The 15th and last day (30/31/28/29 depending on month/year)
How can I disable every day in the picker but allow those two dates?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Ext.form.field.Date
的disabledDates
配置选项请参阅API 文档中
See
disabledDates
config option forExt.form.field.Date
From API docs: