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

Modifying columnDef.enableFiltering has no effect after the grid has rendered #2544

Closed
axelstudios opened this issue Jan 14, 2015 · 1 comment

Comments

@axelstudios
Copy link

Even with calling notifyDataChange, disabling enableFiltering on a columnDef does not update the column header to remove the filters. Changing something like displayName and then calling notifyDataChange works, but modifying enableFiltering does not. I really hope I missed something, but it looks like a bug.

Example:
http://plnkr.co/edit/ILZh6kosopnHqGtNjZ3c?p=preview

More details: In the 'ui-grid/uiGridHeaderCell' template, filterable is still resolving to true

Workaround: Create a custom headerCellTemplate, and replace filterable with grid.options.enableFiltering && col.enableFiltering

@PaulL1
Copy link
Contributor

PaulL1 commented Jan 14, 2015

This is a duplicate of #2067

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

No branches or pull requests

2 participants