使用范围:UI2
Contents
component ImportExcel ($UI/comp/excelpro/components/excelpro/importExcel) extends BindComponent
导入excel组件(高级)
Constructor Top
ImportExcel () | |||
ImportExcel ( options) |
Properties Top
service
导入的服务 |
Attributes Top
service
导入的服务 | |||
xid
xid标识 |
Methods Top
void | importExcel () |
Operations Top
importExcel () | ||
void | ImportExcel () |
Events Top
boolean | onBeforeImport (BeforeEvent event) | |
void | onError (ErrorEvent event) | |
void | onSuccess (SuccessEvent event) | |
void | onUploadStart (ViewEvent event) | |
void | onUploadSuccess (ViewEvent event) |
Constructor details
Top
public
ImportExcel
()
导入excel组件(高级)
public
ImportExcel
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
ImportExcel
()
导入excel组件(高级)
public
ImportExcel
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Properties Detail Top
public
service
导入的服务
Attributes Detail Top
public
service
导入的服务
public
xid
xid标识
Methods Detail Top
public
void
importExcel
()
导入excel
this.comp("excelImport1").importExcel();
Operations Detail Top
public
importExcel
()
导入excel
public
void
ImportExcel
()
导入Excel
Events Detail Top
[回调型事件]导入前
[回调型事件]导入失败
[回调型事件]导入成功
[回调型事件]开始提交Excel文件前
[回调型事件]提交Excel文件成功