Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Export as Excel/CSV #322

Open
maifeeulasad opened this issue May 7, 2022 · 2 comments
Open

Feature Request: Export as Excel/CSV #322

maifeeulasad opened this issue May 7, 2022 · 2 comments

Comments

@maifeeulasad
Copy link

I used this library for my project, and I must say it's an excellent library.

I went through all the examples provided in the official demo: https://nadbm.github.io/react-datasheet/. But couldn't find any way to export data as an Excel document or even CSV. I think it would be a great addition.

And I'm available to develop this feature.

@nadbm
Copy link
Owner

nadbm commented May 23, 2022

Hey @maifeeulasad, since this library does not maintain the data, I do not believe it makes sense for it to export the data.

Basically:

const data = [...]
render () {
     <ReactDatasheet data={data} /> <Export data={data} />
}

The export could be seperate component that handles the export

@sharunspi
Copy link

It should be great if the library is having a action bar component in which it will be having all the options similar to the option in any excel sheets.
image

  1. Can add config file to configure the options
  2. Can add multiple options like export to csv,json,etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants