ContextMenu - customization not working in AngularWrapper

Tags: #<Tag:0x00007efc6164a9b0>

The code below used to work in “@handsontable-pro/angular”: “^1.0.0-beta3”,
alertContextMenu: any = {
items: {
“remove_row”: {
name: ‘Remove Row’,
callback: (key, options)=>{
this.removeNote(options.start.row);
}
}

When I upgraded to “@handsontable-pro/angular”: “^1.0.0-beta4”, it is not working !!!

When I click the context menu callback is not invoked

Any obvious reasons?

Regards,
Sumathi

Hi @sumathi.vellaisamy

I believe that your script has updated the Handsontable version. As the following syntax is connected to the changes made in v.1.16.0. As far as I remember the option is an array right now so you should pick the first element options[0].

Please check that and let me know if it works for you.

it is working…Later I myself found that it is an array. Kindly point me to the documentation for this latest version… I end up rewriting callbacks which I used in my code in many places :frowning:

We had a little glitch with the documentation, but it should appear later today.
This link https://docs.handsontable.com/pro/tutorial-introduction.html always redirects you to the latest documentation and this to latest release notes https://docs.handsontable.com/pro/tutorial-release-notes.html
Today we are planning to a new push version

sorry to bother, is there any other docs for Angular Wrapper ??

Actually, we are working on it. Please track changes to the repository for changes https://github.com/handsontable/angular-handsontable