Press the "Export CSV Data" button below to export an array as .csv file.
-
+
Press the "Export TSV Data" button below to export an array as .tsv file.
-
-
\ No newline at end of file
+
+
diff --git a/src/app/services/export-csv/csv-export.component.ts b/src/app/services/export-csv/csv-export.component.ts
index 8136f7bd4..563ae4e5f 100644
--- a/src/app/services/export-csv/csv-export.component.ts
+++ b/src/app/services/export-csv/csv-export.component.ts
@@ -2,11 +2,13 @@
import { Component, inject } from '@angular/core';
import { CsvFileTypes, IgxCsvExporterOptions, IgxCsvExporterService } from 'igniteui-angular/grids/core';
+import { IgxButtonDirective } from 'igniteui-angular/directives';
@Component({
selector: 'app-csv-export',
styleUrls: ['./csv-export.component.scss'],
- templateUrl: './csv-export.component.html'
+ templateUrl: './csv-export.component.html',
+ imports: [IgxButtonDirective]
})
export class CsvExportComponent {
private csvExportService = inject(IgxCsvExporterService);
diff --git a/src/app/services/export-excel/excel-export.component.html b/src/app/services/export-excel/excel-export.component.html
index 565b249ee..fb1f6e547 100644
--- a/src/app/services/export-excel/excel-export.component.html
+++ b/src/app/services/export-excel/excel-export.component.html
@@ -1,4 +1,4 @@
Press the "Export Data" button below to export an array as .xlsx file.
-
+