extjs datefield 问题: 请问日期选择框怎么不被遮住?
funcPrivFormWin=newExt.Window({width:400,resizable:false,modal:false,frame:true,fit:t...
funcPrivFormWin = new Ext.Window({
width : 400,
resizable : false,
modal : false,
frame : true,
fit : true,
closeAction : 'hide',
plugins: new Ext.ux.WindowAlwaysOnTop(),
items : [
{
id:'formWindow',
xtype : 'form',
layout : 'form',
frame : true,
labelAlign : 'right',
labelWidth : 80,
items : [{
columnWidth : .35,
layout : 'form',
labelWidth:80,
items : [{
xtype:'compositefield',
fieldLabel: '日期',
anchor:'100%',
items:[
{xtype:'datefield',name:'startTimeString',id:'startTimeString',format:'Y-m-d',editable:false,width:110},
{xtype:'displayfield',value:'-'},
{xtype:'datefield',name:'finishTimeString',id:'finishTimeString',format:'Y-m-d',editable:false,width:110}
]
}]
}]
}
],
buttons : [
{
text : '提交',
handler : function() {
currentAction();
}
},
{
text : '取消',
handler : function() {
this.ownerCt.ownerCt.hide();
}
}
],
buttonAlign : 'center'
}); 展开
width : 400,
resizable : false,
modal : false,
frame : true,
fit : true,
closeAction : 'hide',
plugins: new Ext.ux.WindowAlwaysOnTop(),
items : [
{
id:'formWindow',
xtype : 'form',
layout : 'form',
frame : true,
labelAlign : 'right',
labelWidth : 80,
items : [{
columnWidth : .35,
layout : 'form',
labelWidth:80,
items : [{
xtype:'compositefield',
fieldLabel: '日期',
anchor:'100%',
items:[
{xtype:'datefield',name:'startTimeString',id:'startTimeString',format:'Y-m-d',editable:false,width:110},
{xtype:'displayfield',value:'-'},
{xtype:'datefield',name:'finishTimeString',id:'finishTimeString',format:'Y-m-d',editable:false,width:110}
]
}]
}]
}
],
buttons : [
{
text : '提交',
handler : function() {
currentAction();
}
},
{
text : '取消',
handler : function() {
this.ownerCt.ownerCt.hide();
}
}
],
buttonAlign : 'center'
}); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询