on 2020 Jul 15 8:39 AM
Hi Experts,
How can upload the excel file data (.xlsx) to sap.ui.table model data using SAPUI5 standard controls?
Please kindly provide references/samples. (※if possible, do not want to use third-party JS library)
Best Regards,
Thiri
Yes. Follow my blog for steps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anmol Chadha,
Here is my code. But it doesn't work.
var file1 = oFileUploader.getFocusDomRef().files[0];
if (file && window.FileReader) {
var reader = new FileReader();
reader.onload = function(e) {
var strResult = e.currentTarget.result;
};
reader.readAsText(file, 'ISO-8859-1');
}
Best Regards,
Thiri
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.