I am trying to use routerLink in my cellsrenderer.I tried multiple times except href nothing works.As these widgets are of Angular routerLink should work i think.Can anyone please help me.Thanks.
var More = function (row, columnfield, value, defaulthtml, columnproperties) {
return ‘<div>EDIT</div>
}
this.columns =
[
{
text: ‘S.No’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘id’, width: 50, cellsalign: ‘center’
},
{
text: ‘UserName’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘user_name’, width: 100
},
{
text: ‘Email’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ’email’, width: 100
},
{
text: ‘ServiceType’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘servicetype’, width: 50
},
{
text: ‘Gender’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘gender’, width: 50
},
{
text: ‘DateofBirth’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘birthday’, width: 100
},
{
text: ‘Action’, columntype: ‘textbox’,datafield: ‘id’, width: 215, cellsrenderer: Action
}]