agusluc agusluc - 2 years ago 213
AngularJS Question

Using row values in ng-grid colum cellTemplate

I'm trying to add a colum that have a link to another page (is an ng-grid table). That link contains one of the values of the row

I tried something like this:

$scope.columns = [
{field:'id', displayName:'#'},
{field:'name', displayName:'Name'},
{field:'view', displayName:'Action', cellTemplate: '<a href="' + {row.getProperty(} + '">[View Details]</a>'}

But is not working, any ideas?

Answer Source

The expression should be




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download