@stenajs-webui/grid-export
TypeScript icon, indicating that this package has built-in type declarations

20.6.8 • Public • Published

stenajs-webui/grid-export

This package adds ability to export Excel (.xlsx) documents.

It exports StandardTableExcelExportButton component which takes props config (StandardTable config) and items.

It also takes prop filename which is optional. Default is exported-spreadsheet. File extension is added automatically.

When the user clicks the button, the download starts immediately.

Example:

<Column>
  <StandardTableExcelExportButton
    config={config}
    items={items}
    filename={"exported-user-list"}
  />
  <StandardTable config={config} items={items} />
</Column>

Readme

Keywords

none

Package Sidebar

Install

npm i @stenajs-webui/grid-export

Weekly Downloads

291

Version

20.6.8

License

MIT

Unpacked Size

74.7 kB

Total Files

24

Last publish

Collaborators

  • stenajs-webui-bot
  • mattias800
  • lindskogen