Skip to content

Conversation

@mtsvyatkova
Copy link
Contributor

@mtsvyatkova mtsvyatkova commented Jan 9, 2026

Closes #16721

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

@mtsvyatkova mtsvyatkova requested a review from gedinakova January 9, 2026 11:44
@mtsvyatkova mtsvyatkova added the ❌ status: awaiting-test PRs awaiting manual verification label Jan 9, 2026
@gedinakova
Copy link
Contributor

@mtsvyatkova Overall, LGTM, however, if summaries are enabled, a summary record would be present even when no data. This breaks the export to Excel only (CSV & PDF would export, although CSV file content is also off).
image

On exporting to Excel, the following error is thrown:
_untracked-chunk.mjs:2572 ERROR TypeError: Cannot read properties of undefined (reading 'columns')
at _IgxExcelExporterService.exportDataImplementation (excel-exporter.ts:117:46)
at base-export-service.ts:402:18
at chunk (utils.ts:594:13)
at yieldingLoop (utils.ts:597:5)
at _IgxExcelExporterService.exportGridRecordsData (base-export-service.ts:398:9)
at _IgxExcelExporterService.export (base-export-service.ts:275:14)
at _IgxGridToolbarExporterComponent.export (grid-toolbar-exporte…component.ts:143:18)
at _IgxGridToolbarExporterComponent.exportClicked (grid-toolbar-exporter.component.ts:99:14)
at IgxGridToolbarExporterComponent_Conditional_11_Template_li_click_0_listener (grid-toolbar-exporte…omponent.html:20:76)
at executeListenerWithErrorHandling (_debug_node-chunk.mjs:7948:12)


CSV file content:

image

@gedinakova gedinakova added 💥 status: in-test PRs currently being tested and removed ❌ status: awaiting-test PRs awaiting manual verification labels Jan 9, 2026
@gedinakova gedinakova added ✅ status: verified Applies to PRs that have passed manual verification and removed 💥 status: in-test PRs currently being tested labels Jan 13, 2026
@gedinakova gedinakova merged commit 44f1ec7 into master Jan 13, 2026
7 checks passed
@gedinakova gedinakova deleted the mtvsyatkova/fix-16721-hgrid-export branch January 13, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version: 21.1.x ✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hierarchical grid export throws TypeError with empty data or missing child keys

3 participants