DHTMLX Docs & Samples Explorer

enableAutoViewport(state)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxwindows.js

if true - allows an object to adjust the viewport automatically to document.body

  • state - true|false
    dhxWins.enableAutoViewport(true/false);