Skip to content

IgxHierarchicalGrid - DOM elements remain in memory after destroy. #17502

Description

@MayaKirova

Description

Detached Elements remain in memory after destroying IgxHierarchicalGrid, where the RowIsland had declarative columns and some rows were expanded.

If row island has no columns (autoGenerate=true for example), then there's no leak.

Framework

Angular

Angular Version

22.0.1

Ignite UI for Angular Version

22.0.0

Component / Area

Hierarchical Grid

Browser

Chrome

Operating System

No response

Command Not Working

Steps to Reproduce

  1. Run sample:

hgrid.zip

  1. Destroy grid via button
  2. Collect Garbage and take a memory snapshot
  3. Create grid via button
  4. Expand a row
  5. Destroy grid via button
  6. Collect Garbage and take another memory snapshot
  7. Compare the two

Actual Result

Hierarchical grid elements remain in memory:

Image

Expected Result

No hierarchical grid elements remain in memory.

Reproduction URL

No response

Attachments

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions