Class IgbGridToolbarExporter
Provides a pre-configured exporter component for the grid.
@remarks
This component still needs the actual exporter service(s) provided in the DI chain
in order to export something.
@igxModule IgxGridToolbarModule
@igxParent IgxGridToolbarComponent, IgxGridToolbarActionsComponent
Inheritance
System.Object
IgbGridToolbarExporter
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
public class IgbGridToolbarExporter : IgbBaseToolbarDirective, JsonSerializable, IDisposable
Constructors
Declaration
public IgbGridToolbarExporter()
Properties
Show entry for CSV export.
Declaration
public bool ExportCSV { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public EventCallback<IgbVoidEventArgs> ExportEnded { get; set; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Components.EventCallback<IgbVoidEventArgs> |
|
Declaration
public string ExportEndedScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Show entry for Excel export.
Declaration
public bool ExportExcel { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Show entry for PDF export.
Declaration
public bool ExportPDF { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public EventCallback<IgbExporterEventArgs> ExportStarted { get; set; }
Property Value
Declaration
public string ExportStartedScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
The name for the exported file.
Declaration
public string Filename { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
protected override string ParentTypeName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Methods
Declaration
protected override void EnsureModulesLoaded()
Overrides
Declaration
[WCWidgetMemberName("Export")]
public void ExportGrid(GridToolbarExporterType type)
Parameters
Export the grid's data
type File type to export
Declaration
[WCWidgetMemberName("Export")]
public Task ExportGridAsync(GridToolbarExporterType type)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
Implements
System.IDisposable