DHTMLX Docs & Samples Explorer

center()

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

centers a window in the viewport

    dhxWins.window(id).center();