Depending dropdown in angular material table for each single row

Discussão em 'Angular' iniciado por npiccone, Maio 15, 2025.

  1. npiccone

    npiccone Guest

    I have a material table with 2 dropdown columns. I need to filter the second dropdown based on value selected on the first drop down. The values of the first drop down are fixed, the values of the second one depends on the value selcted on the first one. And i have to do this for each row. For example

    Row 1 - Dropdown1 Value = A - Dropdown2 Availble Values = '1,2,3'

    Row 2 - Dropdown1 Value = B - Dropdown2 Available Values = '4,5,6'

    Dropdown are dynamically populated from database. ANyone has some sample code to achieve this?

    Continue reading...

Compartilhe esta Página