Hi,
i use dhtmlxgrid v.1.6. I have created a contextmenu in grid. Now i want to display a dhtmlxWindow, by clicking the item in context menu. I use the following codes in js:
function onButtonClick(itemId,itemValue){
if(itemId == “addNotes”){
dhxWins= new dhtmlxWindows();
dhxWins.setImagePath("…/images/imgs/windows_imgs/");
dhxWins.createWindow(“add”,200,200,50,40);
}
}
But it doesn’t work.
Can you help me?
Thanks in advance!
pyt
What kind of error?
Could you please provide more code?
The error is: dhtmlxWindows is not defined.
try this:
dhxWins= new dhtmlXWindows();