Hi there,
I am trying to change the name of the merge and unmerge contextMenu options, but I dont see anyway to do so without having to re-implement them from scratch. I have a contextMenu that looks like this:
items: {
…//other custom or default items here
mergeCells: {}
}
Now I want to change the names for merge and unmerge to, for instance, something like “Merge MY cells”. I can’t find anything in the documentation that specifies how to specifically target the merge and unmerge options in the context menu without having to rewrite their implementations from scratch.
For instance, if I do something like this:
mergeCells: {
name: “Merge MY cells”
}
It renames both the merge and unmerge options to “Merge MY cells”. How can I target each individually without having to rewrite all their logic?
Thanks in advance!