curly-silver
curly-silver3y ago

Nested Filtering in useTable

how to do nested filtering in useTable hook?
3 Replies
Omer
Omer3y ago
Hey @rehan1 , You can use dot notation syntax ⚡
setFilters([{
field: "nested.field",
operator: "eq",
value: "foo"
}])
setFilters([{
field: "nested.field",
operator: "eq",
value: "foo"
}])
curly-silver
curly-silverOP3y ago
thanks can we merge multiple filters in this?
Omer
Omer3y ago
useTable | refine
useTable allows us to fetch data according to the sorter state, the filter state and the pagination states.