Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

507
Views
Adding a external hyperlink to an Angular Material data table

I'm on Angular CLI 13.1.2 and I'm trying to pass data to the table that is a hyperlink outside of the application. I've been unable to get the get the link to open successfully (in a new tab). When hovering over the link, it thinks it is part of the application - www.localhost:4200/www.google.com.

      <ng-container matColumnDef="p2_offering">
         <th mat-header-cell *matHeaderCellDef><!-- P2 Offering --></th>
         <td mat-cell *matCellDef="let element">  <a href="www.google.com"> Some link </a>  </td>
      </ng-container>

How can I fix this to open the new page on click instead of being interpreted as part of the application?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!