或var result = Ext.decode(response.responseText);
     if(result.isUnq=='OK'){
    
       alert("更新成功!");
       _glStore.load();//重新加载store
                me.close();
     }else
     {
    
     alert("更新失败!");
                me.close();
     }

解决方案 »

  1.   

    Ext.getCmp('id').close();
    ===============
    这个ID是什么的ID?me.close();这个是写在我的b.js的页面中吗,我其实也试了,没反应。包括window.close();this.close();
      

  2.   

    用close事件的时候我记得有个问题,close好像是永远的销毁了这个对象,你好像要重新写方法,重新把这个窗口new出来,用hide只是隐藏了,在开发过程中用hide存在一些问题,建议用close。
    function newwin(){

    arti_win = new Ext.Window({
    layout:'fit',
        width:860,
            height:570,
        closeAction:'close',   //主要是设置这里,有hide与close
    resizable : false,
    shadow : true,
        closable:true,
        bodyStyle:'padding:5 5 5 5',
        animCollapse:true,
        modal: true,     
        autoDestroy:true,
    items:[form]
    }); 
    }
    希望能帮上你!
      

  3.   

    解决了,现在来分享一下
    parent.Ext.getCmp('b-win').close();
    用这个就可以了
        
      

  4.   

    Ext.getCmp('*******').ownerCt.destroy(); 销毁