This event is emitted when a column is exported.
this.exporterService.columnExporting.subscribe((args: IColumnExportingEventArgs) => {
// put event handler code here
});
This event is emitted when the export process finishes.
this.exporterService.exportEnded.subscribe((args: IExcelExportEndedEventArgs) => {
// put event handler code here
});
This event is emitted when a row is exported.
this.exporterService.rowExporting.subscribe((args: IRowExportingEventArgs) => {
// put event handler code here
});
Method for exporting IgxGrid component's data.
this.exporterService.export(this.igxGridForExport, this.exportOptions);
Method for exporting any kind of array data.
this.exporterService.exportData(this.arrayForExport, this.exportOptions);
Ignite UI for Angular Excel Exporter Service - Documentation
The Ignite UI for Angular Excel Exporter service can export data in Microsoft® Excel® format from both raw data (array) or from an
IgxGrid
.Example: