Get relative position using extjs

What is the correct way to get the position of an element on a page relative to a document?

offsety / x is a jquery variant: http://docs.jquery.com/CSS/offset

I need an EXTJS option.

Edit

Possible problem. Since mesh components are not part of dom, mesh height is not considered consideration. I think I need a callback to the reboot function from the grid, but I don’t know yet how to do this.

+3
source share
1 answer

getEl(), Ext.Element. , , getXY(), getX() getY() ( , )

+9

Source: https://habr.com/ru/post/1768013/


All Articles