In grid the add button should have only in the last record,
This is the code used in cell template
cellTemplate: '<button class="btn primary" ng-click="grid.appScope.deleteRow(row)">Delete</button>'+
'<button class="btn primary" ng-click="grid.appScope.addRow(row)">Add</button>'
plunk here http://plnkr.co/edit/vP8K039cwMsVymCdRelT?p=preview
In plunk all rows have both the buttons, How can I remove the add button from all rows except from the last ?
How can I manage that using grid row length?