DHTMLX Docs & Samples Explorer

createWindow(id, x, y, width, height)

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

creates a new window and returns its handler

  • id - window's id
  • x - top-left window corner's X-coordinate
  • y - top-left window corner's Y-coordinate
  • width - window's width
  • height - window's height
    var w1 = dhxWins.createWindow(id, x, y, width, height);