ClassGridSpreadsheetExport<TBeforeExportEventArgs, TAfterExportEventArgs>
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TBeforeExportEventArgs
TAfterExportEventArgs
Syntax:
public abstract class GridSpreadsheetExport<TBeforeExportEventArgs, TAfterExportEventArgs> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance: objectComponentBaseGridSpreadsheetExport<TBeforeExportEventArgs, TAfterExportEventArgs>
Derived Classes:
Implements:
Inherited Members
Constructors
GridSpreadsheetExport()
Declaration
protected GridSpreadsheetExport()
Properties
AllPages
Determines whether to export all data or only the current page. Set to true to export complete dataset regardless of pagination.
FileName
Name of the file to be generated when exporting Grid data. Include file extension like "MyData.xlsx" or "Reports.csv".
Declaration
[Parameter]
public virtual string FileName { get; set; }
Property Value
OnAfterExport
Event that fires after export completes. Use this to hide loading indicators, show success messages, or handle export results.
Declaration
[Parameter]
public EventCallback<TAfterExportEventArgs> OnAfterExport { get; set; }
Property Value
EventCallback<TAfterExportEventArgs>
OnBeforeExport
Event that fires before export starts. Use this to modify export settings, show loading indicators, or cancel export operations.
Declaration
[Parameter]
public EventCallback<TBeforeExportEventArgs> OnBeforeExport { get; set; }
Property Value
EventCallback<TBeforeExportEventArgs>