refresh after filter
this is my filter, when i select filter its need refresh to load filtered data, so i want to when i choose filter automaticly refresh it, how i can do it ?
14 Replies
anyone?
Refresh the page? You could return a reload response to the browser after state of the select has ben changed
when your filter is changed, the list from your table will be changed too. No need to refresh
yes but, in this filter which code i showed u, when i choose and click its not change data its need refresh and next showing filtered data\
okay but where can u exaplane more please?
??
What data are you filtering? We’re talking about filament tables right?
yes
in table i have total column
``````
like this
and i have filter which should change this total like if select office rent amount it should shows only rent amount sum code is there this filter
Your filter isn't doing anything. Why did you add this?
without that i just had errors lol
i should return filtered data in there?
No. It's the part that is applied to the query by the filter
If you use
SelectFilter
you shouldn't need to use this
Best if you'd share what you want to do. Seems like SelectFilter
isn't the right toolso what i should use ? just Filter?
i have column in my table like this ``````
i want to make filter for this column, this column shows now all inputs sum (total) i want to make filter where values will be this inputs
and let's say if i choose
office_rent_amount
it should only shows office_rent_amount
sum in this column
at this moment it shows all inputs sum