Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sylvain on Mar 12, 2009 04:13
open dhtmlx forum
Elements belong to a specific window

Hi,

Is there a function telling if an element belongs to a window (or a layout or layout-cell) or not?
For example, I have a window, with a Layout attached to, and I load a form into the first cell of the layout using the "attachObject" function. How can I know if the form belongs to this window?

Thanks,
Sylvain
Answer posted by Alex (support) on Mar 12, 2009 06:27

Hi,

unfortunately, there is no such a method. 

After calling attachObject method you can mark the element. For example:

obj._isInWindow = true;