Delete button on each row

I’m looking into having a delete button in each row of the grid that I’m setting up. I know from the samples that I can have a link to delete selected row, but it would be really nice to add a column at the end with a link/button that says “Delete”.

Is the best way to do this to have a “link” type column? If so, how do I get the row that the link is related to when the link is clicked on?

Thanks for any insight. These DHTMLX components are amazing. What a time saver.

You can use “img” eXcell type and specify what code should be called on image click

docs.dhtmlx.com/doku.php?id=dhtm … xcells#img