YZSoft.src.field.TimePicker(xtype: yztimefield)

示范

items: [{

   xclass: 'YZSoft.src.field.TimePicker',

   label: '时间选择',

   xdatabind: 'iDemoAppFields.TimePicker',

   value: Ext.Date.add(Ext.Date.clearTime(new Date()), Ext.Date.HOUR, 8)

}, {

   xclass: 'YZSoft.src.field.TimePicker',

   label: '15分钟为单位',

   xdatabind: 'iDemoAppFields.TimePicker',

   value: Ext.Date.add(Ext.Date.clearTime(new Date()), Ext.Date.HOUR, 8),

   picker: {

       minuteScale: 15

   }

}, {

   xclass: 'YZSoft.src.field.TimePicker',

   label: '右对齐',

   xdatabind: 'iDemoAppFields.TimePicker',

   cls: ['yz-field-valuealign-right'],

   value: Ext.Date.add(Ext.Date.clearTime(new Date()), Ext.Date.HOUR, 8)

}]

属性说明

属性名称

说明

label

标签名称

xdatabind

绑定字段,需绑定日期型字段

value

默认值

cls

附加css class

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents