How put an id(like index value) on a tr

Discussão em 'Angular' iniciado por Doppu, Dezembro 4, 2024.

  1. Doppu

    Doppu Guest

    I need to put an id that represent that number of row in my tr

    I put this code

    <tr mat-row *matRowDef="let row; columns: _columns;let i = dataIndex;" [id]="i"></tr>


    The problem is that the id is undefined [​IMG] Anyone can help me to put the correct value?

    Continue reading...

Compartilhe esta Página