I’m attaching a dhtmlxForm to a dhtmlxWindows.
Is there any way to fit the windows size to the size of the form ?
I’m attaching a dhtmlxForm to a dhtmlxWindows.
Is there any way to fit the windows size to the size of the form ?
you may set window size by setDimension method:
win.setDimension(width,height);
“base” property of a form is the container with form items. You may get its scrollHeight
var formHeight = dhxForm.base.scrollHeight;