Hi,
I’m currently working on dhtmlxLayout. I’ve use attachURL() api to attach an URL. Now is there any api that will return me the same URL which I attached to layout?? If not can you provide us a patch for that??
Thanks,
Vibhav
Hi,
I’m currently working on dhtmlxLayout. I’ve use attachURL() api to attach an URL. Now is there any api that will return me the same URL which I attached to layout?? If not can you provide us a patch for that??
Thanks,
Vibhav
Hello,
there isn’t public method that returns the attached url. You can try to use the following:
var url = layout.cells(“a”)._frame.window.contentDocument.location.href;
Hi,
Thanks for immediate reply. It was very helpful. Now is there any way to find out is there any toolbar attached to that layout?? If yes then can we get loadXML url from that object??
Thanks,
Vibhav
To check is toolbar is attached to layout cell you can use toolbar property:
if(layout.cells(“a”).toolbar){
/…/
}
The xml path of toolbar is toolbar._xmlLoader.filePath