DataGridExportOptions Class

Configures a DataGrid export.

Inheritance

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class DataGridExportOptions

Constructors

DataGridExportOptionsLink to this section

Configures a DataGrid export.

Declaration
public DataGridExportOptions()

Properties

CancellationTokenLink to this section

Gets or sets the cancellation token for the export.

Declaration
public Threading.CancellationToken CancellationToken { get; set; }
Property Value
Type Description
Threading.CancellationTokenGets or sets the cancellation token for the export.

ChunkSizeLink to this section

Gets or sets the number of rows requested per LoadData call when exporting all rows.

Declaration
public int ChunkSize { get; set; }
Property Value
Type Description
intGets or sets the number of rows requested per LoadData call when exporting all rows.

ProgressLink to this section

Gets or sets the callback invoked after each LoadData chunk is exported.

Declaration
public Action<DataGridExportProgress> Progress { get; set; }
Property Value
Type Description
Action<DataGridExportProgress>Gets or sets the callback invoked after each LoadData chunk is exported.

ScopeLink to this section

Gets or sets the rows included in the export.

Declaration
public DataGridExportScope Scope { get; set; }
Property Value
Type Description
DataGridExportScopeGets or sets the rows included in the export.

TitleLink to this section

Gets or sets the export title. Excel and CSV use it as the worksheet name.

Declaration
public string Title { get; set; }
Property Value
Type Description
stringGets or sets the export title. Excel and CSV use it as the worksheet name.

UseThemeLink to this section

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.

Declaration
public bool UseTheme { get; set; }
Property Value
Type Description
boolGets 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.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙