Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NgClass for Angular2-grid.html #2

Open
smorosoram opened this issue Sep 25, 2015 · 2 comments
Open

NgClass for Angular2-grid.html #2

smorosoram opened this issue Sep 25, 2015 · 2 comments

Comments

@smorosoram
Copy link

Hi,

Need to replace: [class]="{ filtered: form.filter }"

With: [class.filtered]="form.filter"

And: [class]="{ hidden: item.isHiddenByFilter }"

With: [class.hidden]="item.isHiddenByFilter"

On the corresponding lines for the css to work properly.

@dfbaskin
Copy link
Owner

Angular2 API changed, I suppose. I'll try to get the project updated with the latest at some point. Thanks!

@smorosoram
Copy link
Author

Ok ok. I suspected that it was probably related to that but since the project is pretty new I felt like I'll just describe what I did to make it work and then you're free to take that in account or not :)

Regards,

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

No branches or pull requests

2 participants