Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Florante Kho on Sep 01, 2009 20:50
open dhtmlx forum
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
Answer posted by Alex (support) on Sep 02, 2009 02:23

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