dhtmlxgrid cell id


I have an attribute id=“xxx” on each cell of the xml definition of my grid. VALUE. And i try to know this id of the cell when it is selected.

I use cellById to have a CellObject but where can i found my cell id in this object ?


Steve Boulay

PS: In the doc for function CellById, i can read : Note: if no parameters are indicated, the method gets dhtmlXGridCellObject object of currently selected cell. But if i try to call cellById without parameter i have a javascript error. Why ?

grid.cellById(rowId, cellIndex).getAttribute(“id”)

dhtmlx.com/dhxdocs/doku.php?id=d … of_excells