handsontable icon indicating copy to clipboard operation
handsontable copied to clipboard

Using the hotColumn component for altering the dataset to show fewer columns than defined does not work correctly

Open AMBudnik opened this issue 4 years ago • 1 comments

Description

Using the hotColumn component for altering the dataset to show fewer columns than defined does not work correctly.

Steps to reproduce

  1. 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

AMBudnik avatar Sep 23 '20 08:09 AMBudnik

Inform Forum

adrianszymanski89 avatar Sep 16 '22 11:09 adrianszymanski89