React Table Excel Renderer
This library provides a simple way to render excel data on a table using React, React-Table, and XLSX.
Current Features
- Dynamically add additional columns to the table.
- Select a column and change the cell input type to a select dropdown, with the ability to add dropdown data.
Upcoming Features
- Validate the uploaded excel sheet to match the specified format.
- Show visual indicators on cells that failed validation.
- Ability to select and delete multiple columns.
Installation
To install, simply run
npm install react-table-excel-renderer
Usage
First, import the ExcelTable component from the library:
import { ExcelTable } from 'react-table-excel-renderer'
Next, pass the excel file data as a prop to the ExcelTable component:
<ExcelTable data={excelData} />
Notes
The excel data should be in the form of an array of objects, where each object represents a row in the table and each property represents a column.
Contributing
We welcome contributions! Feel free to submit a pull request with any improvements or bug fixes. License
This library is licensed under the MIT license.