Ext.js5日历和月历(25)
2015-12-20 11:39
661 查看
/** * This example shows how to use the date/month pickers. * 没啥好说的,看代码,看官方例子,就懂了 */ Ext.define('KitchenSink.view.form.Date', { extend: 'Ext.container.Container', xtype: 'form-date', layout: { type: 'vbox', align: 'center' }, width: 500, items: [{ xtype: 'container', layout: 'hbox', margin: '0 0 20 0', items: [{ title: 'Date Picker', margin: '0 20 0 0', items: { xtype: 'datepicker' } }, { title: 'Month Picker', items: { xtype: 'monthpicker' } }] }, { xtype: 'container', layout: 'hbox', items: [{ title: 'Date Picker (no today)', margin: '0 20 0 0', items: { xtype: 'datepicker', showToday: false } }, { title: 'Month Picker (no buttons)', items: { xtype: 'monthpicker', showButtons: false } }] }], initComponent: function() { this.width = 465; this.callParent(); } });
相关文章推荐
- Ext.js5表单文本—数字(24)
- js整体介绍
- js弹出新窗口的6中方法
- JSP基础篇
- js函数库大全
- Ext.js5(关联数据插件)(SubTable)(23)
- Ext.js5的小部件表格(23)
- js倒计时抢购实例
- js代码实现点击按钮出现60秒倒计时
- js实现无缝滚动特效
- 基于JavaScript实现动态创建表格和增加表格行数
- 原生js页面滚动延迟加载图片
- json解析
- js实现n秒倒计时后才可以点击的效果
- 图解js图片轮播效果
- 【JavaScript.4】“客“”服”解负好帮手,正则表达显神通
- 谈谈我对JavaScript原型和闭包系列理解(随手笔记6)
- 谈谈我对JavaScript原型和闭包系列理解(随手笔记6)
- 图解js图片轮播效果
- js实现n秒倒计时后才可以点击的效果