Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Grid Column Header doesn't update if outer model updates #983

Closed
Blackbaud-TrevorBurch opened this issue Aug 8, 2017 · 2 comments
Closed

Comments

@Blackbaud-TrevorBurch
Copy link
Member

Expected behavior

If I change the object bound to the sky-grid-column-header's input I would expect the header to update to reflect that.

Actual behavior

The header does not update if the input is updated. This is important with the localization features as the column does not update if heading is bound to something being pulled through these features. For example if I bind to <sky-grid-column *ngIf="!gridColumns" heading="{{ 'loading' | skyAppResources }}" field="loaded"></sky-grid-column> the header never updates to say "Loading" and just stays blank.

Steps to reproduce

  1. Create a sky-grid-column with the heading input bound to a model variable
  2. Trigger a change in the model variable
  3. Observe that the header never updates.

Plunker

https://plnkr.co/edit/Uha8etljTHUmBNAJbuKE?p=preview

@blackbaud-joshlandi
Copy link

To expand on this issue, i've also encountered an issue with sky-grid-column headers that are on sub-routes. We have a sky-list-view-grid on our subroute /sent-emails and if you go to the page the headers are shown just fine, but if we reload the page all resources on that page are left blank. Headers, the column selector, even the title for the page itself. It sounds like this is an issue with skyAppResources.

@Blackbaud-SteveBrush
Copy link
Member

Should be fixed with: #1436

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants