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

Grid refresh problem #8

Closed
zuntah opened this issue Sep 16, 2015 · 1 comment
Closed

Grid refresh problem #8

zuntah opened this issue Sep 16, 2015 · 1 comment

Comments

@zuntah
Copy link

zuntah commented Sep 16, 2015

I am using this module and implementing filters with ng-hide.
Each grid-item has an attribute "hidden" that is being changed by the filters functions.
The problem is that the items in the grid aren't organized after the attribute has been changed to "true" or "false", and the grid-items are floating on each other.

before filter func, grid-items are organized:
normal

after filter func - not organized:
problem

Thanks for the support!

@s-yadav
Copy link
Owner

s-yadav commented Sep 22, 2015

As it watch the list array for any changes to relayout, applying filter does not have any effect on model, that why does not cause any relayout. You have to manually watch for query string / modal which is used for filter, and invoke angular grid refresh method manually.

Check doc for refreshing manually.

I will update docs for dealing with filters, so its more clear.

@s-yadav s-yadav closed this as completed Sep 22, 2015
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