Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Abdul Bari on May 25, 2009 05:08
open dhtmlx forum
How can i get other properties of the objects , like i want x y , top left position of one perticular cell or anything else.

Answer posted by dhxSupport on May 25, 2009 07:09

You can get position of a particular cell using getPosition() method:

var pos=mygrid.getPosition(mygrid.cellById(rowId,cellIndex).cell)


where pos[0] - x coordinate
          pos[1] - y coordinate