Hi i want to attach more than one object to layout cell but this is not being possibly done here can you suggest me how to do i have got 2 iframes and i want to attch them to a layout cell and make any one visible on demand.
var dhxLayout = new dhtmlXLayoutObject(“maindiv”, “2U”, “dhx_blue”);
var dhxLayout2 = new dhtmlXLayoutObject(dhxLayout.cells(“b”), “3E”);
dhxLayout2.cells(“a”).attachObject(“iframe2”);
dhxLayout2.cells(“a”).attachObject(“iframe3”);
dhxLayout2.cells(“a”).attachObject(“iframe4”);
dhxLayout2.cells(“b”).attachObject(“iframe5”);
dhxLayout2.cells(“c”).attachObject(“iframe6”);
document.getElementById(‘iframe2’).src=“STOBatchPreparationServiceFee”;
here i am getting error
Error:-
document.getElementById("iframe2") is null
Hello,
Such feature will available if future release. Now you use something like this:
…
dhxLayout.cells(“a”).attachObject(“mainObj”);
and then manualy show/hide iframes through document.getElementById(“f1”).style.display