Showcase

Blazor Grid - Export

The Blazor Grid component shows tabular data with client-side or server-side paging, sorting and filtering, plus selection, a column chooser, saved settings and CSV export. The example below exports every filtered and sorted row, across all pages, to a CSV file.
API Documentation

Export to CSV #

An Export CSV button downloads every row that matches the current filters and sort, across all pages, with the columns people see, in their order.
How to use:
  1. Set AllowExport="true" on the Grid, and optionally ExportFileName.
  2. Give each exported column a PropertyName; its value is written with the grid's culture. Set Exportable="false" on columns such as actions.
  3. With a DataProvider, return all matching rows when PageNumber and PageSize are 0. request.ApplyTo(...) already does.
  4. Call ExportToCsvAsync() to export from your own button.
Text that starts with =, +, -, or @ is written with a leading apostrophe, so spreadsheet apps don't run it as a formula.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.