iFrame autofit

Dear Support Team,

Is it posibble to load external site (iFrame) to the small cell for example use 3J Layout and it will load to c cell, but the iframe is autofil with the cell, so no need to scrool again (if open google, we see the tiny google in there) ?



Please give me suggestion if it can



thx

Hello,

you can use attachURL method - the iframe is attached and occupies the whole cell: dhtmlx.com/docs/products/dht … h_url.html

If you meant to automatically increase the cell height depending on iframe content - it isn’t possible.

But you can increase the default cell height using setHeight method:

layout.cells(“c”).setHeight(300);



Dear Alex,



Thanks a lot for the answer :slight_smile:



regard,



Robby