LyteNyte Grid logo for light mode. Links back to the documentation home page.
Export & Clipboard

Export Excel

Implement Excel export in LyteNyte Grid using third-party libraries like ExcelJS.

LyteNyte Grid does not include built-in Excel export to keep the bundle size small. Instead, use established open-source libraries to generate Excel files. This approach avoids adding large dependencies to the grid.

This guide shows how to use ExcelJS to create downloadable Excel files from your grid data.

Excel Export

How It Works

Use the exportDataRect API method to retrieve the grid's data for export. Pass this data into your ExcelJS logic to populate and style the spreadsheet. For details on exportDataRect, see the Export Any Data guide.

On this page