2010-11-25 77 views
2

当我们在打开的对话框中选择一个文件并在extjs中单击确定按钮时,是否有捕获事件的功能。 **脱离主题该字段不能从其正常宽度拉伸。Extjs在对话关闭时输入文件对话框触发事件

 xtype: 'textfield', 
     fieldLabel: 'New (JPG or PNG only)', 
     labelSeparator: '', 
     name: 'newPic', 
     id:'newPic', 
     anchor:'100%', 
     inputType: 'file', 
     allowBlank: false, 

当我打开浏览按钮打开对话框打开。当我点击对话框上的打开按钮时,我需要捕获文件名。

任何建议将有所帮助。

谢谢。

回答