save filter data in variable
in my code i want to save choosen filter in my variable like i have $status variable and i want to save there this if i choose in Progress i want to save 0 in $status
10 Replies
Can you explain your goal more?
i have purchases table
and im taiiking data like this next
i take data frm purchase using status
i have status variable like this
i want to use it to get puurchases items where stattus == my status variable
i create filter in my widget like this
and i want when i select in progress save 0 in status variable and use it to take purchases items where status === 0
u get it?
If you have created a filter it will filter the table by the selected value.... But where are you wanting to save it? I am not understanding.
look i have chart widget
which have filter in right side
this filter
and i want like if i select In progress i want to take data from purchases where status == selected status
??
anyone please?
So you want to filter the resource data from the widget filter form? Is that correct?
yes i have filter for my widget
anyone can helpme?