IgniteUI / igniteui-angular

Ignite UI for Angular is a complete library of Angular-native, Material-based Angular UI components with the fastest grids and charts, Pivot Grid, Dock Manager, Hierarchical Grid, and more.
https://www.infragistics.com/products/ignite-ui-angular
Other
571 stars 161 forks source link

[Elements] hGrid excel export does not export child grid data #14129

Closed IMinchev64 closed 5 months ago

IMinchev64 commented 6 months ago

Description

When trying to export a hierarchical grid to excel in angular-elements only the parent grid data and column headers are exported, while the child grid columns are not:

Steps to reproduce

  1. Navigate to this sample
  2. Export the grid to Excel
  3. Expand the hidden rows

Result

The hidden rows are empty:

image

Expected result

Hidden rows should hold the data from the child grids:

image

Attachments

See screenshots above.

IMinchev64 commented 6 months ago

This seems to also reproduce on latest master if on grid initialization the columns in a row island are disabled and later reenabled. Seems the columns array property is not updated after initialization.

On the contrary, columnList gets updated and contains all the columns at the moment of exporting the grid.