Extjs window autoload

var win = new Ext.Window({
                    title:'批量设置状态',
            //        el:'window-win',
                    layout:'form',
                    autoLoad:{
                        url:'setSuccInit.action',
                        params:{flag:0,sheetType:2},
                        scripts:true
                    },
                    width:600,
                    height:300,
                    x:150,
                    y:20,
                    colseAction:'close',
                    buttonAlign : 'center' ,
                    buttons:[{
                        text:'关闭',
                        handler: function(){win.close();}
                    }]
                });
                win.show();

 

posted @ 2012-11-16 13:31  合肥房屋托管  阅读(1307)  评论(0编辑  收藏  举报