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
I have a list of objects with a lot of keys. Many of them are not relevant to show as columns, but I still want to use them when applying the global filter to filter the table.
I have created my own function for filtering but this function is called once per column. Is it possible to register a filter function that gets called once per row instead, or is there another way to go about it that I'm not seeing in the documentation?
My solution for now is that I set enableGlobalFilter: false on all columns except one, so that my filter function only gets called once per row. This is really hacky so I'm hoping there's a proper way to achieve this.
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
-
Hi!
I have a list of objects with a lot of keys. Many of them are not relevant to show as columns, but I still want to use them when applying the global filter to filter the table.
I have created my own function for filtering but this function is called once per column. Is it possible to register a filter function that gets called once per row instead, or is there another way to go about it that I'm not seeing in the documentation?
My solution for now is that I set
enableGlobalFilter: false
on all columns except one, so that my filter function only gets called once per row. This is really hacky so I'm hoping there's a proper way to achieve this.Beta Was this translation helpful? Give feedback.
All reactions