Skip to main content
added OP's code from comments
Source Link
T J
  • 43.2k
  • 13
  • 87
  • 142

I wanted to add a new row into my existing grid. Also, the row which is getting pushed should be editable.

I tired below code and the row is getting added, But I wanted editable fields to be added

$scope.addNewItem=function() { 
   $scope.data.push( { name: 'Test add ' });
}; 

Can someone help me for the same.

I wanted to add a new row into my existing grid. Also, the row which is getting pushed should be editable.

Can someone help me for the same.

I wanted to add a new row into my existing grid. Also, the row which is getting pushed should be editable.

I tired below code and the row is getting added, But I wanted editable fields to be added

$scope.addNewItem=function() { 
   $scope.data.push( { name: 'Test add ' });
}; 

Can someone help me for the same.

Source Link
Rohan Kangale
  • 991
  • 4
  • 11
  • 31

UI Grid add editable row

I wanted to add a new row into my existing grid. Also, the row which is getting pushed should be editable.

Can someone help me for the same.