Insert column menus are disabled when using columns option

Tags: #<Tag:0x00007efc622a11f0>

Hi,

When using columns option ‘insert column left/right’ menu in the context menu are disabled.
Without the columns option ‘insert column left/right’ menu are enabled.

I use the columns option to specify the type of each column.
How can I specify the type of each column with ‘insert column left/right’ menu enabled?

Please see my example below.
https://jsfiddle.net/futurecrew/wrt2uo59/4

Thank you

Hi @futurecrew

you need to add a custom option to the context menu that uses updateSettings to alter columns. Those default options are turned off for object data instances https://jsfiddle.net/AMBudnik/a7uon069/

I used ‘cells’ option instead of ‘columns’ option and it works fine.
Thanks you

1 Like

Great. Thank you for the update.