How to write column filter without re-rendering the table

Viewed 28

I am facing a problem using MaterialTable. I am using MaterialTable from @material-table/core.

The problem i am facing is: I want to be able to filter by column. The current behavior is that every time I type a character in a filter, the whole table gets immediately refreshed and re-rendered with that filter.

What I need is to be able to write the column filters that I want and then only update the table when clicking a button. So, after writing the column filters I don't want the table to refresh, but I want to get the filters somewhere when I click a button.

Any idea how I can achieve this? They have the onFilterChanged method, but I don't think that is the way.

0 Answers
Related