Description
Description
exceptions are thrown for column visibility changing/changed events.
Steps to reproduce
- Run sample
- Use column chooser icon (top right)
- 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.