ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

dataUpdated function not called

Open angloc opened this issue 12 years ago • 1 comments

The documentation describes a function dataUpdated in the configuration that is called when the grid data are changed externally. Searching ng-grid-2.0.7-debug.js shows that this function is never called. Simply adding the line: "grid.config.dataUpdated ();" after line 3126 where the ngGridEventData event is triggered apparently fixes the problem.

angloc avatar Jan 28 '14 20:01 angloc

The dataUpdated callback function is still not being called in v2.0.11. It seems the line number to insert the "grid.config.dataUpdated ();" is now line after line number 2954. Just after the call to "$scope.$emit("ngGridEventData", grid.gridId);".

bryanknox avatar Jul 16 '14 19:07 bryanknox