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

angular grid hide when filter the records. #129

Open
techverx opened this issue May 24, 2017 · 0 comments
Open

angular grid hide when filter the records. #129

techverx opened this issue May 24, 2017 · 0 comments

Comments

@techverx
Copy link

Hi guys,
I have products array $scope.products and fetch records from database everything is perfect and grid is showing.

When I apply filter like I query records from database and reassign the records to $scope.products but grid vanish. So I apply angularGridInstance.gallery.refresh() but it not works.

After that I add timeout of 2 seconds and then refresh the grid using angularGridInstance.gallery.refresh() in that case grid start showing.

I don't want to add 2 seconds delay everytime when I filter records. Please suggest any better solution.

Thanks.

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

1 participant