我可以在Angular UI-GRID-info可扩展子网格中有一个按钮,并调用类似getExternalScopes()的函数。验证或SaveRow,还是DelteRow?
{name: 'saveRow', cellTemplate: '<button id="saveBtn" type="button" ng-click="getExternalScopes().saveRow(row.entity)" >Save</button> '}
答案 0 :(得分:1)
我已修复上面的plunker appScopeProvider: $scope
http://plnkr.co/edit/VHuE151KUFx0ImVPuHy2?p=preview
subGridOptions