-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Missing watch on options.enableFiltering #2433
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
Comments
Refer #1819. Our general preference is to not implement additional watchers. |
Thanks for the quick response. Now, I'm struggling to find a solution with i will be really pleased If I know how to change the child scope of the grid sub-directives from outside (without modifying the source of course). Or if there is some easier solution that I'm forgetting ? |
ok, I found a different solution for my problem. I don't have to watch |
This is also a duplicate of #2067, which is on my list to implement sometime. |
@TheHalcyonSavant I'm in the same pickle. Can you show me how you managed to modify |
EnableFiltering should now update with notifyDataChange, and in fact I think the tutorial has an example of this. |
My $elem.closest('.ui-grid').toggleClass('filterable'); @paambaati you can toggle this class onload instead, in case you need only to show/hide the filters. This way it's much simpler as you don't depend on the internal watchers/events of the ui-grid. |
I see many grid options are not watched, including enableFiltering on both the grid and columns. Any plans for implementing watchers on most options for dynamic change ? (I'm reading the latest source codes)
The text was updated successfully, but these errors were encountered: