Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
how to upload excel
posted

I am using FileReader API, here is the sample code. I tried all of the read*** methods, none of them works. Always got "invalid data error". I need to evaluate the product before deciding to buy or not. Please help asap. 

file = input.files[0];
fr = new FileReader();
fr.onload = cb;
//fr.readAsText(file);
fr.readAsDataURL(file);
//fr.readAsBinaryString(file);
//fr.readAsArrayBuffer(file);
}
}

function cb() {
var workbook = $.ig.excel.Workbook.load(fr.result);

}

Parents
No Data
Reply
  • 11095
    Offline posted

    Hello,

    Thank you for contacting Infragisitcs!

    I have prepared small sample demonstrating how to load excel and manipulate it using JavaScript via the excel library api.

    Let me know if you need further assistance.

    LoadExcel.zip
Children