Ext3.0 有file组件没有啊
我多不知道怎么弄了
希望谁能给我点提示
var form = new Ext.form.FormPanel({
isUpload:true, //表示文件上传
items:[{
xtype:'textfield',
inputType : 'file' //文件组件
}]
})
form.getForm().submit({
url:'', //表单提交路径
success:function(response,options){}, //成功回调函数
failure:function(response,options){} //错误回调函数
})
其实导入导出啥的 和ext没什么大关系
看看这个 http://caihorse.iteye.com/blog/504039 把 或许有些帮助
ExtJS中将GridPanel数据导出为Excel的方法