esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

Is there a way to add an ng-click in a cell content? #1017

Open talamaska opened 7 years ago

talamaska commented 7 years ago

like so I would be able to make something like this

{
                title: '',
                field: 'id',
                sortable: false,
                getValue: function($scope, row) {
                    console.log($scope)
                    var value = row[this.field];
                    return $sce.trustAsHtml('<a ng-click="$ctrl.edit(' + value + ')">Edit</a>');
                }
            }
maykon-oliveira commented 1 year ago

I'd like to keep this project, there are many feature and improvement we could add. are u active?