Answer the question
In order to leave comments, you need to log in
Angular not updating table, how to filter on input[checkbox] click?
Can you please tell me how to implement filtering by selected checkboxes?
I can’t figure out why it doesn’t work correctly, i.e. it is filtered only during initialization... when pressed, the value of the object for filtering changes... but does not update the table. Here is a project on StackBlitz I build a
table from the received data with json ...
Options should be based on the data. Those. in the gender filter, for example, there are two options: female and male. The departament field contains all possible departments.
The options are checkbox [Filter Value]
For example, when you click on the checkbox, the table should be filtered by the corresponding value, while all other filters should be recalculated.
Answer the question
In order to leave comments, you need to log in
when clicked, the value of the object changes for filtering ... but does not update the table
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question