context menu inside a layout cell

Hi,



Is there a way to attached a context menu on a layout cell or the entire layout?



Thanks



Florante


Hello,


you can define context menu zone:


menu.addContextZone(element_id);


Where element_id is id of the html element that menu is attached to.


If you attach object to layout cell by attachObject(id), you can attach menu to this object