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
isRangeFilter is true when filterVariant in columnDef is fixed as range
or
the current filterFn selected (_filterFn) is between or betweenInclusive or inNumberRange
I want to add a new custom filter function betweenIncExc for the user to select in the menu to filter the date-time column with a start and an end date-time value, but I find that I cannot set the filter as range since the logic above.
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
-
in getColumnFilterInfo
isRangeFilter
istrue
whenfilterVariant
incolumnDef
is fixed asrange
or
the current
filterFn
selected (_filterFn
) isbetween
orbetweenInclusive
orinNumberRange
I want to add a new custom filter function
betweenIncExc
for the user to select in the menu to filter the date-time column with a start and an end date-time value, but I find that I cannot set the filter asrange
since the logic above.in MRT_TableHeadCellFilterContainer
The simplest solution is to modify the logic of
isRangeFilter
?e.g.
Beta Was this translation helpful? Give feedback.
All reactions