When we set the value of a Filter component via event handlers the table linked to the Filter component is not applying the filter rule.
Hi @Natalia_Rosales thanks for your question.
Could you walk me through how you're setting the filters? Screenshots would be helpful also. Thanks!
Sure!
I have a
- table1 component
- filter2 component linked to table1
- table8 componen with a row_action that set the Filter2 with some values
when I click the row_action in table8 I want the Table1 to filter some rows
- the table8 row_actions set the filter2 withe the value
[
{
"columnId": "frida_product_cat_l2",
"operator": "includes",
"value": "{{table8.selectedRow.Frida_Category}}",
},
] - table 1 does not perform the filter
1 Like
Thanks for explaining your approach. Here's an app export with a working filter using a function.:
Repro: Filter table by function.json (130.4 KB).
I think what you'll want to do here is use {{ currentSourceRow
. <your-col-name>
}} as shown below:
You then can trigger the action by clicking the when you hover over the row you'd like to select.
Let me know if this helps! Here are the docs for reference.