onCellEdit doesn't detect click on img excell type

grid.attachEvent(“onCellEdit”,doOnCellEdit) doesn’t seem to identify when a grid cell of type ‘img’ has been clicked on. I know the img is read-only, but how can I detect that the image was clicked on. It ignores the click, as if the cell is an ‘ro’.

This worked fine in version 1.0 using the old event system.

Of course I mean “onEditCell”–sorry for the typo!

In this case try to use onRowSelect event.
docs.dhtmlx.com/doku.php?id=dhtm … nrowselect

onRowSelect works, but doesn’t do what I want. It is not intuitive to click in the cell instead of on the icon.

You may try to do something like this in your XML:

<cell><![CDATA[<a href=# onClick="alert ('clicked!')"><img src="image.gif"/></a>]]></cell>