setFilter documentation

Hello guys - first post here.

I am trying to find documentation for Table.setFilter and I can't find "setFilter' in the docs at all. I have managed to get this working by running a script. Here is an example:

myTable.setFilters([
{ columnName: "status", filterValue: "complete", operator: "contains" }
])

I'd love to know what the syntax is for entering instructions directly in to the Control Component => Set Filters (method) too, but I can't find any further documentation on setFilter anywhere. Can anyone please point me in the right direction? Thanks!

Hey @thelorddoyle!

We used to have docs, but it looks like they're under construction at the moment :sweat_smile:

There is another community thread, though, that explores different setFilters setups:

http://community.retool.com/t/table-setfilter-is-here/4518/8

Let me know if you have any specific questions and I can try to help!

1 Like

Hey @victoria - thanks for your response. Yes, I have used that thread already to get where I am now :slight_smile:

Do you know when the docs will be back up?

Ah, okay great!

Not sure, but will ask the docs team now :blush:

1 Like

Any update on this??


Just use the 'Run Script' and use this formular style to set your filters as an array.

1 Like