Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Fabien on Nov 26, 2009 03:56
open dhtmlx forum
dhtmlxMenu: How to make clickable the parent item of a submenu

Hi,
I need to have the parent item of a submenu clickable. I didn't found any solution to solve this, clicking do nothing.
Is there any hack to solve this?
Thx
Answer posted by Alex (support) on Nov 26, 2009 06:58

Hello,

onClick event isn't called for the complex items. In order to change this behavior you can comment the following line in the dhtmlxmenu.js:

// if (type.charAt(0)=="c") return;

Answer posted by Fabien on Nov 30, 2009 06:51

It works! Many thx.

It would be nice to make this hack a functionality.