How do I get tableFilters in extraAttribute to show/hide filters

Hello,

I am using a filter on my table which has very slow UI because everytime I update any input in the filter the data is being loaded.
I have some inputs like date duration which has today, yesterday, custom etc as options.
I want to hide/show date range when the date_duration field is custom. It is working with the code that is attached as a picture. But the issue is that the table is using persistFilterInSession which is also working nicely but it doesn't show the custom date range inputs if the date duration is set to custom on page reload that is because I used showCustomDate: false with the Grid
I want to make it dynamic based on the current tableFilters

Thank you so much.
image.png
Was this page helpful?