Component filter does not work in tables when Filter value set by a funcion

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

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 :frowning:
1 Like

Hi @Natalia_Rosales :wave:

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 :pen: when you hover over the row you'd like to select.

Let me know if this helps! Here are the docs for reference.