Hello, can i import excel using uploader and parsing data to datatable without first row?
this my sample script :
{view:“uploader”,value:“Load from Excel file”,width:200,on:{
onBeforeFileAdd: function(upload){
$$(“dt3”).clearAll();
$$(“dt3”).parse(upload.file,“excel”);
return false;
}
}},
@Captluff1
try to add onAfterLoad
handler to datatable
on:{
onAfterLoad: function(){
this.remove(this.getFirstId())
}
}
or you can parse file and implement own logic
check this