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 love tanstack-table and how customizable it is. I am trying to build a more advanced filtering system that what is shipped by default this library. I want to change the schema of the filter to be:
Ideally this would work in conjunction with a new field on ColumnDef called dataType that would only allow certain filter operators to be available. The goal is also to use this dataType to have default renderers for some columns, etc...
I am also trying to make it so you can have multiple ColumnFilters active at the same time for a given column. Unfortunately at this time, the ColumnFiltering feature is bundled with tanstack and therefor I cannot really replace it with a custom version that I can develop. So I am wondering what would be the best way to implement this without having to fork the library of wait for those feature to ship separately (Upcoming in Discussion #5595).
Any ideas on how to go about this? Can I replace the ColumnFiltering add on entirely or is there a way to implement this using overrides? Any feedback would be appreciated.
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
-
Hello,
I love tanstack-table and how customizable it is. I am trying to build a more advanced filtering system that what is shipped by default this library. I want to change the schema of the filter to be:
Ideally this would work in conjunction with a new field on ColumnDef called
dataType
that would only allow certain filter operators to be available. The goal is also to use this dataType to have default renderers for some columns, etc...I am also trying to make it so you can have multiple ColumnFilters active at the same time for a given column. Unfortunately at this time, the ColumnFiltering feature is bundled with tanstack and therefor I cannot really replace it with a custom version that I can develop. So I am wondering what would be the best way to implement this without having to fork the library of wait for those feature to ship separately (Upcoming in Discussion #5595).
Any ideas on how to go about this? Can I replace the ColumnFiltering add on entirely or is there a way to implement this using overrides? Any feedback would be appreciated.
Phil
Beta Was this translation helpful? Give feedback.
All reactions