0 <https://stackoverflow.com/posts/62460347/timeline>
I try to replace rep.offilneURL with rep.[repcon.fieldName] but it not working . repcon.fieldName return offilneURL inside command Type=1 on component.html <ng-container *ngFor="let repcon of ReportControl"> <div *ngIf="coln==repcon.fieldName"> <div *ngIf="repcon.columnType==1"> <a (click)="goToLink(rep.offilneURL)"></a> // replace rep.offilne by repcon.fieldName although repcon.fieldName return offilneURL // repcon.fieldname=offilneURL </div> </div> </ng-container> report control as bove return below json : report control is [{"reportId":2028,"fieldName":"offilneURL","reportStatus":"Icon","columnType":1},{"reportId":2028,"fieldName":"onlineURL","reportStatus":"Hidden","columnType":2}] -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/7aa65c55-c33e-44f5-bec5-1a43202a2ac3o%40googlegroups.com.