Skip to content

ColumnVisibilityChanging/Changed events throw exception - cannot read properties of undefined  #118

Open
@mddifilippo89

Description

@mddifilippo89

Description

exceptions are thrown for column visibility changing/changed events.

Steps to reproduce

  1. Run sample
  2. Use column chooser icon (top right)
  3. Uncheck a column

Result

igniteui-angular-elements.8178e307a7b3c266c3e4.bundle.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'toArray')
at get columnChildren (igniteui-angular-elements.8178e307a7b3c266c3e4.bundle.js:1:888425)
at h.getClone (app.b21fd74f6c640e6cbaa8.bundle.js:2:858319)
at h.getClone (app.b21fd74f6c640e6cbaa8.bundle.js:2:858330)
at h.replacerFunc (app.b21fd74f6c640e6cbaa8.bundle.js:2:859767)
at Object. (app.b21fd74f6c640e6cbaa8.bundle.js:2:859950)
at JSON.stringify ()
at h.stringify (app.b21fd74f6c640e6cbaa8.bundle.js:2:859914)
at R (app.b21fd74f6c640e6cbaa8.bundle.js:2:869007)
at app.b21fd74f6c640e6cbaa8.bundle.js:2:870919
at s. (igniteui-angular-elements.8178e307a7b3c266c3e4.bundle.js:1:29482)

Expected result

no exception, console logs show up.

Attachments

column-hiding-options (column visibility events).zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions