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.
When creating sky-grid-column elements using an ngFor I would expect the available columns to update if the list of columns updates.
Actual behavior
If the available columns provided to the ngFor changes the sky-grid does not update to reflect these changes. This causes trying to populate a list of available columns using an HTTP call difficult as the grid does not update with the available columns once the HTTP data is returned.
Steps to reproduce
Create a sky grid and use an ngFor to create the sky-grid-column elements. Have the variable that the ngFor references start with some initial data. In some manner, change the data for this variable and notice that the sky-grid does not update with the new columns.
This Plunker shows the issue by showing that if you click the "Change columns" button the paragraph elements change but the sky-grid that references the same data does not change.
The text was updated successfully, but these errors were encountered:
Expected behavior
When creating sky-grid-column elements using an ngFor I would expect the available columns to update if the list of columns updates.
Actual behavior
If the available columns provided to the ngFor changes the sky-grid does not update to reflect these changes. This causes trying to populate a list of available columns using an HTTP call difficult as the grid does not update with the available columns once the HTTP data is returned.
Steps to reproduce
Create a sky grid and use an ngFor to create the sky-grid-column elements. Have the variable that the ngFor references start with some initial data. In some manner, change the data for this variable and notice that the sky-grid does not update with the new columns.
Plunker
https://plnkr.co/edit/Db0Ly9o3jhlMNlFGYNMG?p=preview
This Plunker shows the issue by showing that if you click the "Change columns" button the paragraph elements change but the sky-grid that references the same data does not change.
The text was updated successfully, but these errors were encountered: