react-excel-viewer
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i react-excel-viewer

Weekly Downloads

2

Version

1.0.8

License

MIT*

Unpacked Size

1.14 MB

Total Files

61

Last publish

Collaborators

  • addegbenga