ext Window点击右上角的关闭(Xbutton)加入监控事件
2015-09-15 13:08
459 查看
使用场景:关闭window的时候添加监听事件。
正确的使用方式:
正确的使用方式:
addwin = new Ext.Window({ title : '新增', closable : true, width : 500, autoHeight: true, border : false, plain : true, modal : true, layout : 'fit', bodyStyle : 'padding:5px;', maximizable : false,// 禁止最大化 closeAction : 'hide', closable : true,// 是否有关闭 collapsible : true,// 可折叠 iconCls : 'bind', listeners : {'hide':{fn: makesure}}, items : [addbindP] }); function makesure(){ alert("123"); }
相关文章推荐
- centos perf kvm使用
- 查看nginx的版本
- apache虚拟目录配置
- Linux输入法问题
- Linux CentOS6系统安装最新版本Node.js环境及相关文件配置
- 常用shell
- 【转】CentOS下firefox安装flash说明
- Shell 编程小览
- TopCoder SRM 667 Div1 Problem 250 - OrderOfOperations (状压dp)
- 局域网中其他电脑访问我的电脑上的apache服务器
- Linux深入篇之八:配置Nginx+keepalived主从架构
- Linux软件包管理
- CentOS采用grub进 single状态
- 在各种Linux发行版上安装Git的教程
- 靠谱linux常用基础命令
- CentOS下ifconfig eth0:unknown interface:no such device
- linux系统安装nginx服务器
- linux 命令 去掉重复行
- godaddy空间如何建网站教程
- kill指定的进程脚本,并重启指定服务