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

20.7.5 • 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>

/@stenajs-webui/grid-export/

    Package Sidebar

    Install

    npm i @stenajs-webui/grid-export

    Weekly Downloads

    169

    Version

    20.7.5

    License

    MIT

    Unpacked Size

    74.4 kB

    Total Files

    24

    Last publish

    Collaborators

    • stenajs-webui-bot
    • mattias800
    • lindskogen