Grid Context Menu (help)


#1

Hi, i’m struggling trying to add a working context menu to a grid, but the docs is very poor at that point.
Anybody does have a snippet that shows how i catch different menu events and relate them to the actual row and column that was clicked?


#2

https://snippet.dhtmlx.com/jhe4h6vt


#3

That’s good, the menu is fired and the row is selected, but once i click on a Menu option:

contextMenu.events.on('Click', function (id, e) {
	alert(id);
});

How do i retrieve rowId and columnId?


#4

Please, try to operate with the grid selection:
https://snippet.dhtmlx.com/xz4a64ti


#5

Thank you very much!