Dom element reference of a grid cell.

Hi,
I am trying to show a panel , on the click of a grid cell. For that i need the reference to the parent-most DOM element inside a grid cell. (I guess it should be

).

var cell = myGrid.cells(rowId, colIndex); cell. ?

What is the cell member that can fetch me the reference? I want the xy co-ordinates for positioning the panel, relative to the cell. Hence the requirement.

And when is the DOM element inside the cell, rendered? Does the DOM element exist when the constructor of the eXcell is invoked ?

Thanks.

You can get reference to the td element with following code:

var cell = myGrid.cells(rowId, colIndex); var td=cell.cell

And when is the DOM element inside the cell, rendered?
DOM element inside cell rendered right after td element is rendered
If you mean object of cell editor - its rendered after you double click the cell

If you need to create custom eXcell type better to use following techniques docs.dhtmlx.com/doku.php?id=dhtm … l_creation