Top and left position of a cell in dhtmlxLayout

How to get top and left position of a cell in dhtmlxLayout


Hello,


layout doesn’t provide a public solution to do that


There is cells(itemId) which returns html element. So, you can use your approach to get its position.


You can try to use the following approach (but we aren’t sure that it will work for your application - this approach isn’t supported):


var left = getAbsoluteLeft(dhxLayout.cells(itemId));


var top = getAbsoluteTop(dhxLayout.cells(itemId));


There is something similar for the top and left position  of a tab in a tabbar