Change Context Menu Item after init

Tags: #<Tag:0x00007efc64b6d520>

I need to change context menu itens text according to user selection.

Example: User select 3 cols and it show “Add columns”, but when user select 1 col it shows “Add column”

But I need to do it without init handsontable again, is there a way?

Hi @nathalia.pissuti

Welcome back on the forum :slight_smile:

I’ve got as a sample from our Support Engineer https://jsfiddle.net/gs52w8ec/ that solves the mistery.

1 Like

It is exactly what I need, thank you!