Is there a way to disable dropdown on specific column or hide icon?

Tags: #<Tag:0x00007f8b2b16a810>

Hi,

Is there a way I can disable dropdown on a specific column? Or hide the dropdown icon instead for specific column?

Thanks!

Hi @hugh

There is no official way to do it. Here’s more about it -https://github.com/handsontable/handsontable/issues/4253

Nevertheless, you can use afterGetColHeader hook to remove button or override it.

Here is a demo how to remove button - https://jsfiddle.net/smfp2845/

The second options are injecting your content for the specific column.
So it replaces existence header content.
Here is a demo with this approach - https://jsfiddle.net/tf4mx58o/