Replies: 1 comment
-
Have you tried this? {header.column.getCanFilter() ? (
<div>
<Filter column={header.column} table={table} />
</div>
) : null} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I table v7 I used following code to render filters defined in columns outside of table headers:
But I am migrating to v8 and I don't know how to do it.
I put in column definition meta:
filterComponent: (setFilterValue) => { ... return <Component/>}
And render it like:
but this is for custom filters how I can get default filter when just
enableFilter
istrue
?All I want is the same component that is rendered in table header to render the same outside of it without need to define it custom.
I checked whole header object but can't find where component is.
Beta Was this translation helpful? Give feedback.
All reactions