s-yadav / angulargrid

Pinterest like responsive masonry grid system for angular
MIT License
277 stars 105 forks source link

Grid is not getting refreshed on model update #111

Open sankukatti opened 7 years ago

sankukatti commented 7 years ago

`

rdbsf commented 7 years ago

you could be missing css transitions for .grid.ng-enter .grid.ng-enter.ng-enter-active .grid.ng-leave

pdemilly commented 7 years ago

I have the same problem. I am using mobx to store my state and angular-grid doesn't see changes to my list because it is doing a simple watch on the model not on the content of the model. Maybe a $watchCollection would work better.

I was able to get around by using angularInstance.mygridid.refresh() anytime I change the content of my list.