AngularJS and ng-grid – auto save data to the server after a cell was changed
Maybe this is new but ng-grid actually publishes events which can be used to implement a simple update on change. Event Reference: https://github.com/angular-ui/ng-grid/wiki/Grid-Events Example code (add to controller where you setup the grid): $scope.$on(‘ngGridEventEndCellEdit’, function(evt){ console.log(evt.targetScope.row.entity); // the underlying data bound to the row // Detect changes and send entity to server }); One thing … Read more