node-dhtmlx-excel

1.0.2 • Public • Published

Node DhtmlX Excel - NDE

E-time

view on npm npm module downloads per month Build Status Dependency Status

node-dhtmlx-excel

We added support to NodeJs Original Doc: https://docs.dhtmlx.com/grid__data_export.html#excel

Table of Contents

Installation

Node.js

npm install --save node-dhtmlx-excel

Note that node-dhtmlx-excel uses ES6 features so only Node.js v4+ is supported.

Usage

Express

router.post('/exportXLS', function(req, res, next) {
 
    var xmlData = unescape( req.body.grid_xml );
    dhtmlX_Export_Excel.start( xmlData )
            .then(data => {
                // Set the output file name.
                res.attachment("output.xlsx");
 
                // Send the workbook.
                res.send(data);
            })
            .catch(next);
 
});

Note that node-dhtmlx-excel uses ES6 features so only Node.js v4+ is supported.

DHTMLX

grid.toExcel('/exportXLS');

Missing Features

If your use case needs something that isn't supported please open an issue to show your support. Better still, feel free to contribute a pull request!

Submitting an Issue

If you happen to run into a bug or an issue, please feel free to submit an issue. I only ask that you please include sample JavaScript code that demonstrates the issue.

Contributing

Pull requests are very much welcome! If you'd like to contribute, please make sure to read this section carefully first.

Readme

Keywords

Package Sidebar

Install

npm i node-dhtmlx-excel

Weekly Downloads

3

Version

1.0.2

License

ISC

Last publish

Collaborators

  • mauro.braggio