DataGridSpreadsheetButton
CompleteA toolbar button for a DataGrid that saves the rows of the grid (all pages, after filtering and sorting, visible columns only) as an .xlsx file. Numbers, dates and flags stay typed in the spreadsheet; text is always stored as text, so a value that starts with = is never turned into a formula.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
Class | string | Extra CSS classes added to the root element. |
FileName | string | File name without the extension (default export). |
Grid | DataGrid<TItem> | The DataGrid to export (pass it with @ref). |
SheetName | string | Name of the worksheet (default Data). |
Style | string | Inline style added to the root element. |
Package
DataGridSpreadsheetButton is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.
Send feedbackVersion 1.0.3