$scope.deleteClick = function(e){
e.preventDefault();
var datasource = $scope.mygrid.datasource;
var index = $(e.target).closest("tr")[0].rowIndex;
datasource.remove(datasource.at(index -1));
}
At this code, you will see that I did DOM manipulation, because I did not get row index from parameter e
. Please help me to get the row index.