handsontable / handsontable

JavaScript data grid with a spreadsheet look & feel. Works with React, Angular, and Vue. Supported by the Handsontable team ⚡
https://handsontable.com
Other
19.81k stars 3.03k forks source link

The 'freeze_column' and 'unfreeze_column' won't work as keys of a custom dropdown menu. #5429

Open clgerhardt opened 5 years ago

clgerhardt commented 5 years ago

Description

I was attempting to implement the column freezing component into the drop down menu (not the context menu). However, the attempt to do that does not seem to work. I thought based on the documentation the drop down menu would handle freeze column like the context menu would but that does not seem to be the case.

Steps to reproduce

  1. Open Fiddle
  2. Try set a column as frozen
  3. Change the size of the demo box so there will be a scroll bar
  4. Then scroll, notice how the column you froze isn't frozen

Demo

https://jsfiddle.net/4hfa1yo0/3/

Your environment

AMBudnik commented 5 years ago

It looks like the key freeze_column is not read by the dropdownMenu. If we use it in the contextMenu it works. Thank you for sharing @clgerhardt

I do not see any previous versions of Handsontable that supported it.

AMBudnik commented 4 years ago

It works the same in v8 https://jsfiddle.net/AMBudnik/1859sbhg/

CHEWX commented 10 months ago

Is there anything planned here? I assume the functionality just needs to be added rather than a bug?

adrianszymanski89 commented 10 months ago

Hi @CHEWX

This issue still needs to be added to our roadmap. When it changes, we will update this thread.