On mat-select value change, want to pass some flag to another column or want to add custom...

Discussão em 'Angular' iniciado por Rohit, Fevereiro 13, 2025.

  1. Rohit

    Rohit Guest

    On mat-select value change, want to pass some flag to another column or want to add custom content next column of same row using angular.

    [![On change on dropdown value, need to add "Modified column" in next column as shown in image. below are the code also.][1]][1]

    <mat-select style="min-width: 150px;"
    [(ngModel)]="data.selected_value"
    name="configtableDropdown"
    (selectionChange)="selection($event, data)">
    <mat-option *ngFor="let dropdownValue of data.values" [value]="dropdownValue">
    {{dropdownValue}}
    </mat-option>
    </mat-select>
    </mat-form-field>


    [1]: https://i.sstatic.net/GPdpsGvQ.png

    Continue reading...

Compartilhe esta Página