EXTJS3.0 表单元素TextField datefield 设置只读并改背景颜色为灰色
1 { 2 fieldLabel: '纳税人名称', 3 name: 'fxZgYqjnBg.nsrmc', 4 readOnly:true, 5 style:'background:#EEE', 6 maxLength: 128 7 }, { 8 fieldLabel: '申请日期', 9 name: 'fxZgYqjnBg.sqrq', 10 xtype: 'datefield', 11 format: 'Y-m-d', 12 style:'background:#EEE', 13 readOnly:true 14 15 }