Hi @JadedEvan
I am making a note about your feedback for our documentation. As you've seen our table doc relays the following info about filters:
The prior doc which has since been unlinked had a bit more information that we can bring back, but I'll post here for now:
table.setFilters(filters: FilterObject[], filterStackType?: 'and' | 'or' )
Set one or more filters with an array of filter objects.
setFilters([{ columnName: "name", filterValue: "max", operator: "contains" }])
Supported operators
"contains"
"doesNotContain"
"isEmpty"
"isNotEmpty"
"equals"
"doesNotEqual"
"greaterThan"
"lessThan"
"greaterThanOrEqual"
"lessThanOrEqual"
"before"
"after"
Passing in an empty array will reset the filters on the table:
setFilters([])
When passing multiple filters, you should set the filterStackType. FilterStackType must be either "and" or "or" (defaults to "and" if no value set):
setFilters([{ columnName: "name", filterValue: "max", operator: "contains" }, { columnName: "name", filterValue: "john", operator: "contains" }], "or")
Please, let me know if there's anything else I can provide, thanks!
