Add image within dataview cell that links

I was wondering if there is a way to add a a href as part of the dataview cell that links based on that image. I have a thumbnail image that I am showing which i want to have a delete button next to, but i don’t want the entire cell to be selectable, just the image link.

You can use templates for any parts of html , for example

data = new dhtmlXDataView({ container:"data_container", type:{ template:"<img src='#path#'><a href="delete.php?id=#id#">Delete</a>",