Giter Club home page Giter Club logo

simpleexcelexport's People

Contributors

majimenezp avatar rivuc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simpleexcelexport's Issues

How to export as CSV correctly?

Hello,

Thanks for this wonderful and simple plugin. I've been using this plugin to export excel as XLS in previous project and it's work perfectly.

But now I have a new requirement to export my data as CSV.

I'm using MVC. In my ActionResult, I have everything done and in the end, I return the file to browser with this:

return File(objData, "application/octet-stream", strExcelFullName);

I'm trying to export the file as CSV using the content type of "application/octet-stream" or "text/csv" (i don't think it will work but just trying). The file is sent to my browser and downloaded as CSV but I got a warning message as below when I open the CSV:

tmpexcelwarning

This seems to be an issue that the plugin is expecting to export as XLS instead of CSV.

I can open the content if I choose 'Yes' but it's not acceptable for my users that they have to select the option to view the excel every time they downloaded the file.

Is there any configuration that I can set to inform the function to export the file as CSV and stop showing the warning message?

Example In Readme Doesn't Work

Hello and thanks for sharing this! I pulled down your package and was just trying to write a simple integration test and I can't get it to compile using your example (see attached screenshot). Am I missing something?
readme_example_doesnt_work

Does not work with latest NPOI

In your project you've used NPOI 1.2.5, which seems to compile splendidly. But when downloading this from NuGet it installs the most recent NPOI 2.1.3, and that gives the error:
"Method not found: 'Void NPOI.HSSF.UserModel.HSSFCellStyle.set_FillPattern(NPOI.SS.UserModel.FillPatternType)'."

Do you have any ideas about workarounds or how to fix such a thing in your code? I'm working on a project where your code would save lots of time if I could get it working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.