EXTJS 3.4 formPanel的column布局和 日期和星期的关系
来源:互联网 发布:淘宝试用成功要付费吗 编辑:程序博客网 时间:2024/06/07 17:55
var form = new Ext.form.FormPanel({title : "岗位",width : 1200,//height : 800,autoHeight:true,frame : true,autoScroll : true,renderTo : "ssssss1",layout : "form", // 整个大的表单是form布局labelWidth : 80,labelAlign : "right",border: true,items : [{ // 行1layout : "column", // 从左往右的布局items : [{columnWidth : .16, // 该列有整行中所占百分比layout : "form", // 从上往下的布局items : [ {xtype : "datefield",name : 'dutyDate',allowBlank: false, editable: false, altFormats: "Y-m-d", format:"Y-m-d",fieldLabel : "日期",listeners : {"select" : function(field, value) {this.setValue(value);var weekDayInfo = [ "星期天", "星期一", "星期二","星期三", "星期四", "星期五", "星期六" ];var year = value.getFullYear();var month = value.getMonth();var date = value.getDate();var dt = new Date(year, month, date);Ext.getCmp('weekDay').setValue(weekDayInfo[dt.getDay()]);}}} ]}, {columnWidth : .16,layout : "form",items : [ {id :'weekDay',name : 'weekDay',xtype : "textfield",fieldLabel : "星期",} ]} ] }] }]
0 0
- EXTJS 3.4 formPanel的column布局和 日期和星期的关系
- (转)form和column:extJS的布局
- form和column:extJS的布局关键字
- Extjs-ComboBox和FormPanel的使用
- 获取EXTJS中的FormPanel的所有控件值和属性
- ExtJs 中 FormPanel 的数据加载和提交
- ExtJs 中 FormPanel 的数据加载和提交
- 获取EXTJS中的FormPanel的所有控件值和属性
- EXTJS 学习总结(4-1) FormPanel的布局
- 循环出一个星期的日期和星期几
- Javascript获取日期和星期的代码
- ios 日期和星期的获取
- extJs的layout : 'column'布局出错
- ExtJs FormPanel 表单布局
- Extjs关于FormPanel布局
- Extjs之FormPanel布局
- 介绍Extjs的formPanel (入门教程)
- 利用calendar 处理日期和星期内的日期
- 一分钟倒计时
- 时间复杂度为O(m*n)最长公共子串
- StringBuilder.append 中出现加号影响效率
- 【数据结构课程作业】单链表逆置
- Android系统编译之Makefile
- EXTJS 3.4 formPanel的column布局和 日期和星期的关系
- meta标签详解
- 大图文件Plist解析
- # 那些年不得不滚动的页面
- 第二周项目1—求旱冰场造价
- 【转载】 Java线程:Callable和Future
- js 中apply方法和call方法的详解
- 混合视图技术--ContentNegotiatingViewResolver
- 求帮助关于Web 标记库的问题