T
TanStack3y ago
unwilling-turquoise

I am using Tanstack table in ReactJS (useReactTable), I want to first set column filters then apply

I have multiple column filters. and I am applying filters using <TABLE_INSTANCE>.getColumn("team").setFilterValue(team) <TABLE_INSTANCE>.getColumn("user").setFilterValue(team). But it will re-render the table 2 times. I want to render the table one time only like just set filterValues first then apply the filters I want function/API which will first apply the filtervalue then apply the filters on table so that I avoid unwanted re-renders
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?