0

I need to get the data from the ui-grid, so I did it this way:

$scope.getData = function() {
  var a = $scope.gridOpts.data;   

  alert(JSON.stringify(a));
}

But it shows some extra column and I wanted to splice it. Have you any idea? http://plnkr.co/edit/na8FmrWVm7kHr4h7lRPh?p=preview

And second question... why the dropdowns don't show?

kipris
  • 2,899
  • 3
  • 20
  • 28

1 Answers1

0
 var b = $scope.gridOpts.columnDefs.splice(3,4);

to splice the last column

Mohsin Muzawar
  • 1,202
  • 9
  • 9