Skip to content

feat(elements): Add excel and csv exporters to elements.#15611

Merged
dkamburov merged 15 commits intomasterfrom
skrastev/exporters-elements
Apr 1, 2026
Merged

feat(elements): Add excel and csv exporters to elements.#15611
dkamburov merged 15 commits intomasterfrom
skrastev/exporters-elements

Conversation

@skrustev
Copy link
Copy Markdown
Member

@skrustev skrustev commented Mar 27, 2025

Closes #

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

@skrustev skrustev requested a review from damyanpetev March 27, 2025 08:32
@skrustev skrustev force-pushed the skrastev/exporters-elements branch from 4b8fb0b to a3674b8 Compare March 31, 2025 16:31
@dkamburov dkamburov requested a review from MayaKirova April 10, 2025 08:27
@tishko0 tishko0 added 💥 status: in-test PRs currently being tested and removed ❌ status: awaiting-test PRs awaiting manual verification labels Apr 24, 2025
@dkamburov dkamburov changed the base branch from master to 19.2.x April 29, 2025 08:27
@tishko0 tishko0 added ✅ status: verified Applies to PRs that have passed manual verification and removed 💥 status: in-test PRs currently being tested labels Apr 29, 2025
@skrustev skrustev changed the base branch from 19.2.x to master June 4, 2025 07:51
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 4, 2025

There has been no recent activity and this PR has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Aug 4, 2025
@dkamburov dkamburov removed the status: inactive Used to stale issues and pull requests label Aug 4, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 4, 2025

There has been no recent activity and this PR has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Oct 4, 2025
@kdinev kdinev removed the status: inactive Used to stale issues and pull requests label Oct 7, 2025
@kdinev
Copy link
Copy Markdown
Member

kdinev commented Oct 7, 2025

@skrustev Could you revive this PR, please :)

@github-actions
Copy link
Copy Markdown

There has been no recent activity and this PR has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Dec 22, 2025
@skrustev skrustev added 🛠️ status: in-development Issues and PRs with active development on them and removed ✅ status: verified Applies to PRs that have passed manual verification labels Feb 26, 2026
Copilot AI review requested due to automatic review settings March 25, 2026 08:34
@skrustev skrustev added ❌ status: awaiting-test PRs awaiting manual verification and removed 🛠️ status: in-development Issues and PRs with active development on them labels Mar 25, 2026
@skrustev skrustev requested a review from damyanpetev March 25, 2026 08:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 @exportElements JSDoc tag (e.g. type, visibleRowDimensions).
  • Add IgcExcelExporterService / IgcCsvExporterService wrappers and export them (plus related options/enums) from the Elements public API.
  • Tighten IgxBaseExporter.export() typing from any to GridTypeBase and add csSuppress markers 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.

Comment thread projects/igniteui-angular-elements/src/lib/excel-exporter.ts
Comment thread projects/igniteui-angular-elements/src/lib/excel-exporter.ts Outdated
Comment thread projects/igniteui-angular-elements/src/lib/csv-exporter.ts
Comment thread projects/igniteui-angular-elements/src/lib/csv-exporter.ts Outdated
Comment thread projects/igniteui-angular-elements/src/analyzer/utils.ts
Comment thread projects/igniteui-angular-elements/src/lib/excel-exporter.ts Outdated
Comment thread projects/igniteui-angular-elements/src/lib/csv-exporter.ts
@MayaKirova MayaKirova added 💥 status: in-test PRs currently being tested and removed ❌ status: awaiting-test PRs awaiting manual verification labels Apr 1, 2026
Comment thread projects/igniteui-angular/grids/pivot-grid/src/pivot-grid.component.ts Outdated
Comment thread projects/igniteui-angular/grids/pivot-grid/src/pivot-grid.component.ts Outdated
Co-authored-by: Damyan Petev <damyanpetev@users.noreply.github.com>
@MayaKirova MayaKirova added ✅ status: verified Applies to PRs that have passed manual verification and removed 💥 status: in-test PRs currently being tested labels Apr 1, 2026
@dkamburov dkamburov merged commit 4dfd9c1 into master Apr 1, 2026
6 checks passed
@dkamburov dkamburov deleted the skrastev/exporters-elements branch April 1, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💠 grid: elements exporters squash-merge Merge PR with "Squash and Merge" option version: 21.2.x ✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants