handsontable
handsontable copied to clipboard
Using the hotColumn component for altering the dataset to show fewer columns than defined does not work correctly
Description
Using the hotColumn
component for altering the dataset to show fewer columns than defined does not work correctly.
Steps to reproduce
- Click the button and check the state of columns in all the demos below.
Demos
- Adding columns - https://codesandbox.io/s/declaring-column-settings-forked-4i5t1?file=/src/index.js (working well)
- Removing columns without
hotColumn
- https://jsfiddle.net/bnv2hwo0/ (working well) - Removing columns with
hotColumn
defined - https://codesandbox.io/s/declaring-column-settings-forked-yynu8 (does not work) (Handsontable 7.2.0 / React for Handsontable 3.1.3) - Removing columns with
hotColumn
defined - https://codesandbox.io/s/declaring-column-settings-forked-yynu8 (does not work) (Handsontable 8.0.0 / React for Handsontable 4.0.0)
Your environment
- React wrapper version: 4.0.0
- Handsontable version: 8.0.0
- Browser Name and version: Chrome 85
- Operating System: macOS Catalina
Inform Forum