[REACT-197] Filter with column with react hot-column, has some issue

Tags: #<Tag:0x00007efc64fd9ff0> #<Tag:0x00007efc64fd9eb0>

Hi,
when I filter with column header use react hot-column, there are some render issues, it cannot do correct render and delete required columns
here is a demo https://codesandbox.io/s/declaring-column-settings-forked-47ech?file=/src/index.js:380-411, after I click button, I want one column show, but there always three columns, pls check these issues
Thanks

Hi @mengfanxujobs

Is that a correct demo? You mentioned filtering but the filters were not applied to the demo.

Please describe what the button should do.

Hi aleksndra,
this demo table original has three columns id, name and address
when click button, expect to show just name columns, but actually show name, name and address after click button

Thank you for the additional information. I have replicated the issue and will test the demo. I should have a working example for you tomorrow.

Hi @mengfanxujobs

It seems that changing the state while using hotColumn to show fewer columns than defined at the beginning does not work. I have reported the issue into our Github Issue board https://github.com/handsontable/react-handsontable/issues/197 and will update you as soon as we get it solved.

Hi @aleksandra_budnik
thank you for your report, I will keep watching it