Check documentation for the latest version of dhtmlxSuite absLeft DHTMLX Docs

absLeft

returns left element position related to window

number absLeft(string|number|HTMLElement obj);
objstring|number|HTMLElementobject or id
numberleft element position

Example

var t = document.getElementById("someId");
var x = window.dhx.absLeft(t);
 
// or
var x = window.dhx.absLeft("someId");

Back to top