feat(elements): Add excel and csv exporters to elements.#15611
Merged
feat(elements): Add excel and csv exporters to elements.#15611
Conversation
4b8fb0b to
a3674b8
Compare
|
There has been no recent activity and this PR has been marked inactive. |
|
There has been no recent activity and this PR has been marked inactive. |
Member
|
@skrustev Could you revive this PR, please :) |
|
There has been no recent activity and this PR has been marked inactive. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Excel/CSV exporting support to the igniteui-angular-elements package by exposing a few previously-internal grid APIs to the elements analyzer/generator and by introducing Elements-friendly exporter wrappers.
Changes:
- Expose selected internal grid members to the Elements analyzer via a new
@exportElementsJSDoc tag (e.g.type,visibleRowDimensions). - Add
IgcExcelExporterService/IgcCsvExporterServicewrappers and export them (plus related options/enums) from the Elements public API. - Tighten
IgxBaseExporter.export()typing fromanytoGridTypeBaseand addcsSuppressmarkers around exporter APIs.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| projects/igniteui-angular/grids/pivot-grid/src/pivot-grid.component.ts | Marks type/visibleRowDimensions for Elements export via @exportElements. |
| projects/igniteui-angular/grids/hierarchical-grid/src/hierarchical-grid-base.directive.ts | Marks type for Elements export via @exportElements. |
| projects/igniteui-angular/grids/grid/src/grid-base.directive.ts | Marks base type for Elements export via @exportElements. |
| projects/igniteui-angular/grids/core/src/services/exporter-common/base-export-service.ts | Refines exporter export() signature to GridTypeBase. |
| projects/igniteui-angular/grids/core/src/services/excel/excel-exporter.ts | Adds csSuppress markers around Excel exporter API surface. |
| projects/igniteui-angular/grids/core/src/services/excel/excel-exporter-options.ts | Adds csSuppress marker around Excel options API surface. |
| projects/igniteui-angular/grids/core/src/services/csv/csv-exporter.ts | Adds csSuppress markers around CSV exporter API surface. |
| projects/igniteui-angular/grids/core/src/services/csv/csv-exporter-options.ts | Adds csSuppress marker around CSV options API surface. |
| projects/igniteui-angular-elements/src/public_api.ts | Re-exports new Elements exporter services and exporter option aliases/enums. |
| projects/igniteui-angular-elements/src/lib/excel-exporter.ts | Adds Elements wrapper for Excel export that unwraps the underlying Angular component instance. |
| projects/igniteui-angular-elements/src/lib/csv-exporter.ts | Adds Elements wrapper for CSV export that unwraps the underlying Angular component instance. |
| projects/igniteui-angular-elements/src/analyzer/utils.ts | Updates analyzer “public” detection to allow @exportElements even with @hidden/@internal. |
| projects/igniteui-angular-elements/src/analyzer/elements.config.ts | Updates generated Elements component config to include type and visibleRowDimensions. |
damyanpetev
reviewed
Apr 1, 2026
Co-authored-by: Damyan Petev <damyanpetev@users.noreply.github.com>
damyanpetev
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #
Additional information (check all that apply):
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)