You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
Columns should load and change when updated in the grid
Actual behavior
There is a case where, when the columns load after the initial grid setup and should be updated, javascript errors are thrown and the grid breaks.
Error
TypeError: Cannot read property 'locked' of undefined
at View_SkyGridComponent1.detectChangesInternal (/SkyGridModule/SkyGridComponent/component.ngfactory.js:76:58)
at View_SkyGridComponent1.AppView.detectChanges (eval at ./node_modules/@angular/core/src/linker/view.js (https://localhost:31337/permissions/vendor.js:1639:1), <anonymous>:438:14)
at View_SkyGridComponent1.DebugAppView.detectChanges (eval at ./node_modules/@angular/core/src/linker/view.js (https://localhost:31337/permissions/vendor.js:1639:1), <anonymous>:633:44)
at ViewContainer.detectChangesInNestedViews (eval at ./node_modules/@angular/core/src/linker/view_container.js (https://localhost:31337/permissions/vendor.js:1647:1), <anonymous>:71:37)
at CompiledTemplate.proxyViewClass.View_SkyGridComponent0.detectChangesInternal (/SkyGridModule/SkyGridComponent/component.ngfactory.js:453:15)
at CompiledTemplate.proxyViewClass.AppView.detectChanges (eval at ./node_modules/@angular/core/src/linker/view.js (https://localhost:31337/permissions/vendor.js:1639:1), <anonymous>:438:14)
Steps to reproduce
Observe plunker. I have only seen this happen if the columns are loaded during ajax and their is a "loading" placeholder column triggered by an ngIf that is replaced once they are loaded.
Expected behavior
Columns should load and change when updated in the grid
Actual behavior
There is a case where, when the columns load after the initial grid setup and should be updated, javascript errors are thrown and the grid breaks.
Error
Steps to reproduce
Observe plunker. I have only seen this happen if the columns are loaded during ajax and their is a "loading" placeholder column triggered by an ngIf that is replaced once they are loaded.
Plunker
https://plnkr.co/edit/W8skWejkdLNwNEQiVAJh?p=preview
The text was updated successfully, but these errors were encountered: