Context menu key value pair

Hi,

I now have a successfully working DHTMXGrid with a context menu. :smiley:
My question is this, is it possible to update 2 columns from the selection in the context menu, the first with the key, the second with the value.

For instance if I had a grid with two columns, the first one was called code, the second called description, I would want to display the descriptions in the context menu (already have this bit working) and would want to update the first column (the one that the context menu is bound to) with the code value.

Failing all else, just knowing how to hook the context menu “item selected” event would be enough and I could figure it out from there.

Thanks in advance

You may try to use the onClick event:
docs.dhtmlx.com/doku.php?id=dhtm … ck_ontouch