Configures a DataGrid export.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class DataGridExportOptionsConfigures a DataGrid export.
public DataGridExportOptions()Gets or sets the cancellation token for the export.
public Threading.CancellationToken CancellationToken { get; set; }
| Type | Description |
|---|---|
| Threading.CancellationToken | Gets or sets the cancellation token for the export. |
Gets or sets the number of rows requested per LoadData call when exporting all rows.
public int ChunkSize { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets the number of rows requested per LoadData call when exporting all rows. |
Gets or sets the callback invoked after each LoadData chunk is exported.
public Action<DataGridExportProgress> Progress { get; set; }
| Type | Description |
|---|---|
| Action<DataGridExportProgress> | Gets or sets the callback invoked after each LoadData chunk is exported. |
Gets or sets the rows included in the export.
public DataGridExportScope Scope { get; set; }
| Type | Description |
|---|---|
| DataGridExportScope | Gets or sets the rows included in the export. |
Gets or sets the export title. Excel and CSV use it as the worksheet name.
public string Title { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the export title. Excel and CSV use it as the worksheet name. |
Gets or sets whether the export reads the current theme from the rendered grid and applies its header and row colors, gridlines and font size. Applies to Excel.
public bool UseTheme { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether the export reads the current theme from the rendered grid and applies its header and row colors, gridlines and font size. Applies to Excel. |