Pivot context menu

Hi, how can I get the ID of the row of a pivot when right clicking?
If I left click, the event will return id and column, but when right clicking I get the HTML node and I can’t get to the ID from the aria-row number, because it would change relative to the expansion status of the tree structure.

Please check here:
https://snippet.webix.com/dk5wkduq
When right clicking I’d like to have similar info as when left clicking.

Thank you,
Marco

Hello @mabiuso,
As a solution, you can use getContext method to get the view which was clicked and then use locate() to find the cell:

let context = this.getContext(); 
let cell = $$("pivot").$$("data").locate(context);

Please take a look at the snippet:
https://snippet.webix.com/1mt8zpxw

Thank you Anna: it works as expected.