Angular cell renderers don’t get ICellRendererParams in init

Did you use simply

const username = "me";
export class SSHCellRendererComponent implements ICellRendererAngularComp {
public username = username;

and in your template

<a [href]="sanitizer.bypassSecurityTrustUrl('ssh://' + username +'@'+value)" target="_blank">{{value}}</a>

Updated

Use sanitizer function in your template or create sanitizer security pipe.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top