DHTMLX Docs & Samples Explorer

setPosition(x, y)

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

sets window's position (moves a window to the point set by user)

  • x - x coordinate
  • y - y coordinate
    dhxWins.window(id).setPosition(x, y);