I m using DHTMLX 3.6 pro version, and i having an issue with dhtmlx windows component.
I would like to resize windows size according to the screen size, like if we view the interface the windows should resize itself according to that screen size.
the issue is that, the windows cut down and is unable to resize itself according to the screen size.
Can anybody help me?
I’m a little confused as to what you’re asking. When the screen is re-sized (such as when someone flips their iPhone sideways), you want the Window they are viewing to adjust to fit the new resolution, correct?
If you have the Window inside of a Layout control, this should be taken care of for you.
Window does not provide a function that allows to define window size according to screen size. Window is created with certain size:
win = dhxWins.createWindow(id, x, y, width, height);
So, you can calculate the required values before window creation and pass them into createWindow method.