クラス IgxExcelExporterService

Ignite UI for Angular Icon サービス - ヘルプ

Ignite UI for Angular Excel Exporter サービスは、Microsoft® Excel® 形式で生データ (配列) または IgxGrid のデータをエクスポートできます。 例:

public localData = [
  { Name: "Eric Ridley", Age: "26" },
  { Name: "Alanis Brook", Age: "22" },
  { Name: "Jonathan Morris", Age: "23" }
];
constructor(private excelExportService: IgxExcelExporterService) {
}
this.excelExportService.exportData(this.localData, new IgxExcelExporterOptions("FileName"));

階層

Index

コンストラクタ

プロパティ

メソッド

コンストラクタ

constructor

プロパティ

columnExporting

columnExporting: EventEmitter<IColumnExportingEventArgs> = ...

このイベントは列がエクスポートされるときに発生します。

this.exporterService.columnExporting.subscribe((args: IColumnExportingEventArgs) => {
// イベントをハンドルするコードをここに入力します。
});
@次のメンバー:

IgxBaseExporter

exportEnded

exportEnded: EventEmitter<IExcelExportEndedEventArgs> = ...

このイベントは、エクスポート処理が終了したときに発生します。

this.exporterService.exportEnded.subscribe((args: IExcelExportEndedEventArgs) => {
// イベントをハンドルするコードをここに入力します。
});
@次のメンバー:

IgxExcelExporterService

rowExporting

rowExporting: EventEmitter<IRowExportingEventArgs> = ...

このイベントは行がエクスポートされるときに発生します。

this.exporterService.rowExporting.subscribe((args: IRowExportingEventArgs) => {
// イベントをハンドルするコードをここに入力します。
});
@次のメンバー:

IgxBaseExporter

メソッド

export

exportData