日期:2014-05-16 浏览次数:20305 次
var pneast8 = new Ext.Panel({ region: 'center', // layout:'form', frame: true, bodyStyle: 'padding:5px 5px 0', items: [ { xtype: 'fieldset', height: 100, width: 500, layout: 'column', //解决横向并排的方法 items: [{ width:220, layout: 'form', labelWidth: 60, defaults: {width: 120}, items: [ { xtype: 'datefield', fieldLabel: '开始日期', name: 'startdt8', id: 'startdt8', endDateField: 'enddt8' // id of the end date field }] }, { width: 220, layout: 'form', labelWidth: 60, defaults: {width: 120}, items:[ { xtype: 'datefield', fieldLabel: '结束日期', name: 'enddt8', id: 'enddt8', startDateField: 'startdt8' // id of the start date field/ }] } ] }] })