ui-grid
ui-grid copied to clipboard
dataUpdated function not called
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.
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);".