Skip to content

Commit bc704dd

Browse files
committed
rename events
1 parent 4b70925 commit bc704dd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/app/services/export-csv/csv-export-sample-1/csv-export-sample-1.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export class CsvExportSample1Component {
3131
args.cancel = true;
3232
}
3333
});
34-
this.csvExportService.onRowExport.subscribe((args: IRowExportingEventArgs) => {
34+
this.csvExportService.rowExporting.subscribe((args: IRowExportingEventArgs) => {
3535
});
36-
this.csvExportService.onExportEnded.subscribe((args: ICsvExportEndedEventArgs) => {
36+
this.csvExportService.exportEnded.subscribe((args: ICsvExportEndedEventArgs) => {
3737
});
3838
*/
3939
this.csvExportService.export(this.igxGrid1, new IgxCsvExporterOptions("ExportFileFromGrid", CsvFileTypes.CSV));

src/app/services/export-csv/csv-export-tree-grid-sample/csv-export-tree-grid-sample.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export class TreeGridCsvExportSample1Component implements OnInit {
3535
args.cancel = true;
3636
}
3737
});
38-
this.csvExportService.onRowExport.subscribe((args: IRowExportingEventArgs) => {
38+
this.csvExportService.rowExporting.subscribe((args: IRowExportingEventArgs) => {
3939
});
40-
this.csvExportService.onExportEnded.subscribe((args: ICsvExportEndedEventArgs) => {
40+
this.csvExportService.exportEnded.subscribe((args: ICsvExportEndedEventArgs) => {
4141
});
4242
*/
4343
this.csvExportService.export(this.igxTreeGrid1,

src/app/services/export-excel/excel-export-tree-grid-sample/excel-export-tree-grid-sample.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ export class TreeGridExcelExportSample1Component implements OnInit {
3434
args.cancel = true;
3535
}
3636
});
37-
this.excelExportService.onRowExport.subscribe((args: IRowExportingEventArgs) => {
37+
this.excelExportService.rowExporting.subscribe((args: IRowExportingEventArgs) => {
3838
});
39-
this.excelExportService.onExportEnded.subscribe((args: IExcelExportEndedEventArgs) => {
39+
this.excelExportService.exportEnded.subscribe((args: IExcelExportEndedEventArgs) => {
4040
});
4141
*/
4242
this.excelExportService.export(this.igxTreeGrid1,

0 commit comments

Comments
 (0)