Reputation: 3433
After implementing this post, i soon implemented it with jquery datatables. But its not working like expected.
When i try to delete rows its not deleting , and if i click on next and come back, the deleted rows reappear.
Here is my jsFiddle!
The code below is not behaving as expected:
angular.forEach($scope.projects, function (row, index) {
if($scope.projects[index].checked) {
$scope.projects.splice(index,1);
}
});
What am i doing wrong?
Upvotes: 0
Views: 340
Reputation: 32713
I would suggest you abandon trying to get jquery datatables working with angular. Instead you should use this: http://ngmodules.org/modules/ng-table
Upvotes: 1