日期:2014-05-16 浏览次数:20744 次
PersonViewWindow=Ext.extend(Ext.Window,{
constructor:function(_panel,i){
PersonViewWindow.superclass.constructor.call(this,{
renderTo:Ext.getBody(),
title:'增删改',
//plain:true,
modal:true,//模式窗口,只能操作当前窗口
//layout:'fit',
height:210,
width:420,
items:_panel,
x:10+i,
y:10+i
})
}
})
_grid.on("row",function(_r){
var _form=new PersonViewForm();
var _win2=new PersonViewWindow(_form,100);
_win2.show();
},this._form);
_grid.on("row",function(_r){
Ext.WindowManager.setBase(9999);////////增加z-index试试~~
var _form=new PersonViewForm();
var _win2=new PersonViewWindow(_form,100);
_win2.show();
},this._form);