Reputation: 1
Can I have a button in Angular UI-GRID-info expandable sub-grid and call a function like getExternalScopes().Validate or SaveRow, or DelteRow?
{name: 'saveRow', cellTemplate: '<button id="saveBtn" type="button" ng-click="getExternalScopes().saveRow(row.entity)" >Save</button> '}
Upvotes: 0
Views: 3641
Reputation: 21
I already fixed in the plunker above Must have appScopeProvider: $scope
in subGridOptions
http://plnkr.co/edit/VHuE151KUFx0ImVPuHy2?p=preview
Upvotes: 2