how to set viewport area with ‘%’. so i can set viewport width same (100%) with body width. thx
You can use attachViewportTo method to attach viewport to the container with necessary style:
dhxWins.attachViewportTo(“container_id”);
The sample is
dhtmlxWindows/samples/viewports/render_as.html