CSV export
Save current data as CSV for use in other tools.
Options
Changes below update the Grid and code immediately.
Inspect visible columns and orders first. Start without search or filters to simplify comparison.
View code
Sample data included in the code · 6 rows
Usage guide
#Save current order data as a text file readable by other programs.
Try it yourself
- Review the export scope
Inspect visible columns and orders first. Start without search or filters to simplify comparison.
- Click CSV
Click CSV above the table to request syidax-orders.csv.
- Compare file content
Open the downloaded file and inspect headings, rows, and values containing commas or line breaks.
Take order data with you as a CSV file.
Export options determine scopes such as selected rows or specific columns. Checking rows does not automatically restrict export to them.
Useful terms
- exportDataAsCsv
- A method requesting CSV file export.
- fileName
- The name of the downloaded file.
Key API examples
Application code that references the registered Grid element as grid.
await grid.exportDataAsCsv({fileName:'orders.csv'});API reference
#Methods2
| Method / Arguments | Return type | Description |
|---|---|---|
| options?: Omit<CsvExportOptions<GridRow>, 'columns' | 'rows'> | Promise<CsvExportResult> | Serialize the current rows + columns to CSV text. |
| options?: Omit<CsvDownloadOptions<GridRow>, 'columns' | 'rows'> | Promise<CsvExportResult> | Download the current rows + columns as a CSV file. |
Explore each feature
Learn when to use each feature and how to configure it. Each guide identifies live examples and features you connect in your app.