How to define Complex Menu item for dynamical loading

How does the system know that a particular menu item is a ‘Complex item’ and therefore needs to load the menu items in Dynamical loading?

You need to set complex=“true” for the item that needs being loaded dynamically.

How does the system know that a particular menu item is a ‘Complex item’

In private code “complex” attribute is got as follows:

menu.itemPull[menu.idPrefix+id][“complex”]

Thanks for the info but WHERE do I set ‘complex = true’. Is this an attribute of ‘item’ in XML? Also 'menu.itemPull etc is not documented anywhere.

Please can you give me more information or some sample coding.

Thanks

Also 'menu.itemPull etc is not documented anywhere.

This is a private property. Probably I did not undertand your question correctly.

Thanks for the info but WHERE do I set ‘complex = true’.

complex = “true” should be set in the xml:

Here is the sample in the menu package:
dhtmlxMenu/samples/01_init/05_dynamic_loading.html
( dhtmlx.com/docs/products/dht … ading.html )