Am I right in thinking that the “onMaximize” event is fired when the browser window is Maximized (by clicking on the Maximize box)? Or is this fired when a layout container is maximized programatically?
Thanks.
Am I right in thinking that the “onMaximize” event is fired when the browser window is Maximized (by clicking on the Maximize box)? Or is this fired when a layout container is maximized programatically?
Thanks.
The event ‘onMaximize’ exist just for dhtmlxWindow. That component do you mean?
I was trying to figure out how to fire an event on window resize. I see this is only for the windows component in dhtmlx
If you want to make a dhtmlxLayout dependent of browser window size - see the sample of full screen layout:
dhtmlx.com/docs/products/dht … creen.html
If you want to do something on event ‘onMaximize’ - you can attach dhtmlxLayout to the dhtmlxWindow and use this event.
In this case it can be nessesarry to make your window full screen by nethod ‘setToFullScreen()’ and may be hide its header ‘hideHeader()’.