how to calculate grid's position on screen in pixcells

how to calculate grid’s position on screen in pixcells ?

i want (x,y,width ,high ) in pixcells

from his info i want to show 1 window in grid

currently my window is going out of grid in some cases , to avoid this i want grid position

dhtmxGrid hasn’t appropriate method to tell you it’s position. You can use grid’s container properties to find out it’s width, height, x and y position.