The onclick
event on the return template doesn't do anything
{
field: '',
title: '',
width: '80px',
template: function (record) {
return (
' <a href="javascript:void(0);" class="btn btn-xs btn-success margin-top-5 margin-bottom-5 btn-lg, btn-sucess" ng-class="btnClass" ng-click="console.log(record)"> <span>Add</span> </a>'
);
}
},
Tried changing the string of the a
tag, still unable to call ng-click
method.