Angular ui-grid events in cell header not firing

前端 未结 4 644
心在旅途
心在旅途 2020-12-17 17:25

I\'m using a headerCellTemplate in the columDefs of my ui-grid (not ng-grid but the new rewrite). In the html I have a checkbox. Essentially I am trying to add a checkbox i

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 18:24

    When using Angular's controllerAs syntax...

    ng-click="grid.appScope.vm.editRow(grid, row)"

    example: http://plnkr.co/edit/D48xcomnXdClccMnl5Jj?p=preview

提交回复
热议问题