You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I have a table with columns A, B and C. If I understand the docs correctly, column filters currently operate as an intersection, i.e., if the value provided is in both column A and column B. Is there a way to filter rows based on whether a given value is in either column A or B?
I tried doing so with a global filter and setting enableGlobalFilter to false for the columns where I didn't need it. However, I needed to have a custom filter function for one of those columns, due to which the global function does not take that column into account. I saw this relevant discussion from earlier mentioning a globalFilterFn, so I assume this isn't the way to go: #2649.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Say I have a table with columns A, B and C. If I understand the docs correctly, column filters currently operate as an intersection, i.e., if the value provided is in both column A and column B. Is there a way to filter rows based on whether a given value is in either column A or B?
I tried doing so with a global filter and setting
enableGlobalFilter
to false for the columns where I didn't need it. However, I needed to have a custom filter function for one of those columns, due to which the global function does not take that column into account. I saw this relevant discussion from earlier mentioning a globalFilterFn, so I assume this isn't the way to go: #2649.Is there any way this can be accomplished?
Beta Was this translation helpful? Give feedback.
All reactions