Sanjiv
Sanjiv

Reputation: 1

UI-GRID-info Expandable grid with button and action

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

Answers (1)

jin jang
jin jang

Reputation: 21

I already fixed in the plunker above Must have appScopeProvider: $scope in subGridOptions http://plnkr.co/edit/VHuE151KUFx0ImVPuHy2?p=preview

Upvotes: 2

Related Questions