Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

508
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda