Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by j.lagos on Sep 10, 2009 01:53
open dhtmlx forum
Window attachmenu problem

I'm using the pro ver 2.1 and I have the following problem.

In a window I attach a menu (as of yr sample), but the menu items shown in vertical order
like: File
Edit
Help...

To the same window I attach a grid, is that a problem?

My code is as here:
....
winInfo.setModal(true);
var menu = dhxPlayWins.window("wMemberInfo").attachMenu();

menu.setImagePath(images);
menu.setIconsPath(images);
menu.attachEvent("onClick",onInfoMenuClick);
menu.loadXML("info_menu.xml?" + new Date().getTime());

mygrid_info = winInfo.attachGrid();
mygrid_info.loadXML(my.xml);

The Grid is working fine, but not the menu.

Thanks in advance
Answer posted by Support on Sep 10, 2009 03:46
Hello,

It seems you didn't include skins/dhtmlxmenu_dhx_blue.css (skin css file).
Please try to include it, if error still occure please provide completed demo.

Completed demo info:
http://www.dhtmlx.com/docs/support/what_is_a_completed_demo.htm