如何使用 react.js 上传 Excel 表格文件并将数据显示到表格中 [英] How to upload an Excel sheet file using react.js and display data to a table

查看:567
本文介绍了如何使用 react.js 上传 Excel 表格文件并将数据显示到表格中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 React JS 的新手.我正在尝试使用 react.js 上传 Excel 工作表文件并将数据显示到表格中.我有来自链接的部分参考,但并不完整.请帮忙解决.从excel导入数据并在反应组件中显示

I am new to react JS. I am trying to perform uploading Excel sheet file using react.js and display data to a table. I got partial reference from the link but, it is not complete. Please help with it. Importing data from excel and displaying in a react component

推荐答案

您可以使用像 https 的库://react-dropzone.js.org/ 上传文件,然后使用 https://github.com/felixrieseberg/React-Spreadsheet-Component 库来显示它.

You can use the library like https://react-dropzone.js.org/ to upload files and then use https://github.com/felixrieseberg/React-Spreadsheet-Component library to display it.

这篇关于如何使用 react.js 上传 Excel 表格文件并将数据显示到表格中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆