Reputation: 1
I would like updates to the dstore appearing in the dgrid without having to call refresh.
do you know why the grid does not remove the old row?
my records has no id property but Ive setup the idProperty correctly. My grid is expected to receive multiple updates and calling to refresh would probably have performance implications.
So if you can point a way to throttle refresh events it can also help.
Thanks, Nimrod.
Upvotes: 0
Views: 53
Reputation: 56
dgrid listens to change events if the store provides them. dstore's Trackable
mixin adds change events to the store. Try mixing in Trackable
to your store and you should see dgrid automatically render in response to any of the store's add/put/remove calls.
Upvotes: 0