How to reproduce:
1.- Make a grid with master detail
2.- In master detail make a grid
3.- Create a context menu with options for the grid with a method so that when you click an option from the context menu it does something (console.log('Hello') for example)
4.- Create a context menu with options for the subgrid with another method so that when you click an option from the context menu it does something different (console.log('Goodbye') for example)
5.- When you click on an option from the context menu of the subgrid it will not call its function (console.log ('Goodbye')), it will call the function that triggers the context menu of the grid that contains the subgrid (console.log('Hello')
Even if a function is not set in the context menu of the subgrid it calls the function from the top context menu.
I solved it using 1 function for all context menus, but it doesn't seem like the best way to me