Add additional filters based on another filters value #1310
-
Hi Community, I would like to have a "subfilter" that is shown to the user when the user selects the "main" filter. In the application, there are dependent columns shown depending on selected values on the main filter. So I would like to also be able to add dependent filters. How could I trigger rerender of the filters? Or set the filter value before filters are rendered? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can set the filter value using the setFilter() approach. At the moment, you'd have to trigger a re-render of the whole component to get the filters to re-render. Improved filter methods are on the way for 3.x+ (starting with 2 additional filter types) though! |
Beta Was this translation helpful? Give feedback.
You can set the filter value using the setFilter() approach.
At the moment, you'd have to trigger a re-render of the whole component to get the filters to re-render.
Improved filter methods are on the way for 3.x+ (starting with 2 additional filter types) though!