how to view an user uploaded excel file within my web page - javascript

In my application I want the user to upload an excel file and then he should be able to view the contents of the excel file with the web page where he uploaded. Is there any way to achieve this?

You can maybe save the excel sheet as a csv file, then upload, read the contents and write it on to the page. More info here: read csv file from a location and display as html table

Related

How to download multiple zipped pdf in one click from JSON in ReactJS

JSON is coming from backend. and I have a list in frontend and a button for generate invoice.
I have to generate invoice for each row of table.
All invoice should be zip and download directly in one click.
I have try pdfjs and html2canvas but I don't understand how to download pdf without showing it in frontend.
I just need to download directly without showing it in frontend.
Thanks

Convert 1st Page of a Base64 pdf file to an Image and save to public folder - React.js

I have a base64 pdf file in my database
I was trying to generate an image file to make it as a thumbnail that will show up when searching pdf files.
I'm still new in pdf files handling, hope you can give me an idea on how to achieve it

Open Excel file from URL in javascript

I want to open Excel File from javascript
I am trying below code, it is opening the Excel file but the content is not correct as file is getting opened as [ReadOnly].
window.open('ms-excel:ofe|u|http://some-host-name.com/filestest.xlsx');
Can I open the file without [ReadOnly] using similar code?

How to open pdf using nodejs?

I am trying to develop in which the user can upload their pdf and add images to it. But i can't find any resource on how to read a pdf file in nodejs and open it in jspdf to edit it.
Can I open the uploaded pdf using jspdf?

href an excel sheet and save changes made to it. using jsp javascript html

I hace an Excel sheet. using html i am opening it as
href="other/Browser-Capture.xls" target="_blank"><img src="images/xlsimg.bmp"></a>
This opens the excel sheet in a new browser window. I am however not able to modify it.
any idea how it can that be done...
thanks in advance
When requesting a file from a server (like the Excel sheet), it is downloaded to your local computer. If you edit it there, your edits do not affect the Excel file on the server.
So editing it directly on the server using a browser is not possible.
You could add an upload functionality to your webpage where you can upload the changed excel file using <input type="file">. However this might get difficult because you would need to ensure that the uploaded file is the same as the original one.
If you want your users to be able to edit data on your webserver, you could save this data in a file, database etc. and provide a form to the users where they can edit the data.

Categories

Resources