Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rohin on Mar 18, 2009 23:26
open dhtmlx forum
dhtmlx window issue

we have a dhtmlx layout 3l. and in cell 'C' we have used Attach URL to attach a form. On the form we have a button which opens a dhtmlx windows. However the window open's within the Cell 'c'. We want it to open on top of the layout? Is their anything we can do?

We cannot use AttachObject for the form as it keeps getting destroyed on clicking on some other section and returning.
Answer posted by Alex (support) on Mar 19, 2009 07:19

In this case the windows object must be initialized on the main page:

var wins = new dhtmlXWindows();
wins.setImagePath("imgs/");

var layout = new dhtmlxLayout(...);

And the window creation code can be called inside the page loaded into the layout cell:

var win = parent.wins.createWindow(....);