angulargrid icon indicating copy to clipboard operation
angulargrid copied to clipboard

angular grid hide when filter the records.

Open techverx opened this issue 7 years ago • 0 comments

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.

techverx avatar May 24 '17 16:05 techverx